/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f5f7fa;
  color: #1a2b3c;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  background: #0d2137;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  border-bottom: 2px solid rgba(15,191,173,0.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
}
.nav-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-wordmark-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2.8px;
  color: #edf2f7;
  line-height: 1;
}
.nav-wordmark-text span { color: #0fbfad; }
.nav-wordmark-rule {
  height: 1.5px;
  background: #0fbfad;
  border-radius: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: #7a9ab4;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: #edf2f7; }
.nav-links .nav-cta a {
  background: #0fbfad;
  color: #0d2137;
  padding: 7px 18px;
  border-radius: 3px;
  font-weight: 700;
  transition: background 0.15s;
}
.nav-links .nav-cta a:hover { background: #0dafc0; color: #0d2137; }

/* ── FOOTER ── */
.site-footer {
  background: #0d2137;
  color: #7a9ab4;
  padding: 44px 52px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  line-height: 2;
}
.footer-brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2.8px;
  color: #edf2f7;
  margin-bottom: 6px;
}
.footer-brand-name span { color: #0fbfad; }
.footer-tagline { font-size: 12px; color: #4a6a80; line-height: 1.5; }
.footer-col h3, .footer-col h4, .footer-col-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #edf2f7;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col a { color: #7a9ab4; transition: color 0.15s; }
.footer-col a:hover { color: #0fbfad; }
.footer-col .teal { color: #0fbfad; }
.footer-bottom {
  background: #07111a;
  text-align: center;
  padding: 13px 52px;
  font-size: 11px;
  color: #3a5468;
  letter-spacing: 0.2px;
}

/* ── STANDARD PRODUCT FOOTER (Template C: bare <footer>, .footer-inner,
   .footer-brand, .footer-wordmark, .footer-links, .footer-col-label).
   Added 2026-08-24 -- this footer system was never styled anywhere,
   inline or shared, on any of the 50 pages that use it. Found by the
   R2 re-audit; verified directly before fixing. .footer-tagline,
   .footer-col, .footer-col ul/a and the .footer-col-label rule above
   are shared with the main .site-footer system on purpose, since both
   templates use those exact class names for the same visual role. ── */
footer { background: #0d2137; padding: 40px; margin-top: 0; }
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-wordmark {
  color: #edf2f7;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.footer-wordmark span { color: #0fbfad; }
.footer-links { display: flex; flex-wrap: wrap; gap: 48px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: #0fbfad; color: #0d2137; }
.btn-primary:hover { background: #0dafc0; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(15,191,173,0.5);
  color: #0fbfad;
}
.btn-ghost:hover { border-color: #0fbfad; background: rgba(15,191,173,0.08); }
.btn-navy { background: #0d2137; color: #edf2f7; }
.btn-navy:hover { background: #112840; }

/* ── TYPOGRAPHY UTILITIES ── */
.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0fbfad;
  margin-bottom: 10px;
}
.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d2137;
  line-height: 1.2;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

/* Keep long chemical names and identifiers inside responsive product layouts. */
.product-title { overflow-wrap: anywhere; }
.product-content { min-width: 0; }
.page-lead {
  font-size: 16px;
  color: #5a7a8a;
  line-height: 1.7;
  max-width: 580px;
}

/* ── PAGE HEADER BAND ── */
.page-header {
  background: #0d2137;
  padding: 52px 52px 46px;
  border-bottom: 3px solid #0fbfad;
}
.page-header .label { color: rgba(15,191,173,0.8); }
.page-header .page-title { color: #edf2f7; }
.page-header .page-lead { color: #7a9ab4; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  nav {
    height: auto;
    min-height: 62px;
    padding: 12px 20px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-links a { font-size: 11.5px; }
  .nav-links .nav-cta a { padding: 7px 14px; }
  .site-footer { grid-template-columns: 1fr; padding: 32px 20px; }
  .footer-bottom { padding: 13px 20px; }
  .page-header { padding: 36px 20px; }
  footer { padding: 32px 20px; }
  .footer-inner, .footer-links { flex-direction: column; gap: 24px; }
}

@media (max-width: 520px) {
  nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 16px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-links a {
    font-size: 10.5px;
    letter-spacing: 0.7px;
  }
  .nav-links .nav-cta a {
    padding: 6px 10px;
  }
}
