:root {
  --ink: #0d2733;
  --muted: #52666f;
  --brand: #0b6170;
  --brand-deep: #083b4c;
  --mint: #cdebe4;
  --mint-soft: #eff9f6;
  --sand: #f3eee3;
  --paper: #ffffff;
  --wash: #f4f8f8;
  --line: #d7e4e7;
  --shadow: 0 20px 60px rgba(8, 59, 76, 0.09);
  --radius: 22px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 "Segoe UI", Arial, Helvetica, sans-serif;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-deep);
}

p,
li,
dd {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 {
  overflow-wrap: break-word;
}

.page-hero h1 {
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 6.6vw, 5.5rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

small,
.small {
  color: var(--muted);
  font-size: 0.82rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -100px;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--brand-deep);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(215, 228, 231, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: min(var(--max), calc(100% - 36px));
  min-height: 82px;
  margin: auto;
}

.brand {
  flex: 0 0 170px;
}

.brand img {
  width: 170px;
  height: auto;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.4vw, 1.35rem);
}

.desktop-nav a {
  padding: 0.55rem 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.76rem 1.25rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: white;
  background: var(--brand);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  color: white;
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.button:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav summary:focus-visible,
.quote-dialog button:focus-visible {
  outline: 3px solid #69c7b5;
  outline-offset: 3px;
}

.button-secondary {
  color: var(--brand-deep);
  background: transparent;
}

.button-secondary:hover {
  color: white;
}

.button-small {
  min-height: 40px;
  padding: 0.67rem 1rem;
  white-space: nowrap;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.mobile-nav {
  display: none;
  margin-left: auto;
}

.mobile-nav summary {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav nav {
  position: absolute;
  top: 82px;
  right: 18px;
  display: grid;
  min-width: 220px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  padding: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

main {
  min-height: 60vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: min(760px, calc(100vh - 82px));
  padding: clamp(53px, 8vw, 108px) max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(205, 235, 228, 0.9), transparent 35%),
    linear-gradient(135deg, #f7fbfa 0%, #fff 52%, #eef7f5 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 10ch;
}

.hero-lead,
.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-image,
.page-hero-image,
.product-image {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: clamp(390px, 48vw, 610px);
  object-fit: cover;
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.answer-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: 4.3rem max(24px, calc((100vw - var(--max)) / 2));
  color: white;
  background: var(--brand-deep);
}

.answer-band h2 {
  margin: 0;
}

.answer-band .eyebrow,
.answer-box .eyebrow {
  color: #b2eee1;
}

.answer-band > p {
  max-width: 70ch;
  margin: 0;
  color: #e2f2ef;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading > * {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
}

.category-grid,
.product-grid,
.workflow-grid,
.insight-grid,
.metric-grid,
.location-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-grid,
.insight-grid,
.metric-grid,
.location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card,
.product-card,
.workflow-card,
.insight-card,
.metric-grid article,
.location-card,
.contact-card {
  position: relative;
  padding: clamp(1.3rem, 2.6vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.category-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(145deg, #fff, #f5faf9);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  border-color: #80bdb5;
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.category-card h2,
.category-card h3 {
  margin-top: auto;
}

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

.product-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.product-card h2,
.product-card h3 {
  margin-bottom: 0.8rem;
}

.product-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-card .text-link {
  margin-top: auto;
}

.text-link {
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem);
  width: min(var(--max), calc(100% - 48px));
  border-radius: calc(var(--radius) + 8px);
  color: white;
  background:
    radial-gradient(circle at 95% 12%, rgba(114, 203, 183, 0.28), transparent 31%),
    var(--brand-deep);
}

.feature-panel p:not(.eyebrow) {
  color: #d7eeea;
}

.feature-panel .eyebrow {
  color: #b2eee1;
}

.feature-panel .text-link {
  color: #b2eee1;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.stat-grid div {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(6, 43, 54, 0.72);
}

.stat-grid dt {
  font-size: clamp(1.7rem, 4vw, 3.15rem);
  font-weight: 750;
  line-height: 1;
}

.stat-grid dd {
  margin: 0.65rem 0 0;
  color: #c8e4df;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  border-top: 1px solid var(--line);
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.7rem;
}

.link-list a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--wash);
  font-weight: 650;
  text-decoration: none;
}

.local-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: var(--radius);
  background: var(--sand);
}

.page-hero {
  padding: clamp(2.4rem, 6vw, 5.7rem) max(24px, calc((100vw - var(--max)) / 2)) clamp(2.4rem, 5vw, 4.7rem);
  background:
    linear-gradient(135deg, rgba(239, 249, 246, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 80% 20%, #ccebe3, transparent 34%);
}

.page-hero h1 {
  max-width: 17ch;
  margin-bottom: 1.2rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.page-hero-image img,
.product-image img {
  width: 100%;
  height: clamp(270px, 31vw, 430px);
  object-fit: cover;
}

.product-photo {
  width: 100%;
  height: clamp(270px, 31vw, 430px);
  padding: clamp(1rem, 4vw, 2.5rem);
  object-fit: contain;
  background: #fff;
}

.breadcrumbs {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: inherit;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.prose {
  min-width: 0;
  max-width: 76ch;
}

.prose section {
  padding-bottom: 0.7rem;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
}

.prose p {
  color: #314c57;
  font-size: 1.02rem;
}

.side-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mint-soft);
}

.side-panel dl,
.dialog-list {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.3rem;
}

.side-panel dl div,
.dialog-list div {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(11, 97, 112, 0.12);
}

.side-panel dt,
.dialog-list dt {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.side-panel dd,
.dialog-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.sticky {
  position: sticky;
  top: 104px;
}

.related-list {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.related-list ul {
  columns: 3;
  column-gap: 2rem;
}

.product-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.directory-group {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--wash);
}

.directory-group h3 {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.directory-group h3 a {
  color: var(--ink);
}

.directory-group ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-group li {
  display: grid;
  gap: 0.16rem;
}

.directory-group a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.directory-group span {
  color: var(--muted);
  font-size: 0.72rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.answer-box {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.2rem max(24px, calc((100vw - var(--max)) / 2));
  color: white;
  background: var(--brand-deep);
}

.answer-box p {
  max-width: 75ch;
  margin: 0;
}

.answer-box .small {
  grid-column: 2;
  color: #b9d8d4;
}

.answer-box > p:not(.eyebrow, .small) {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 1.2rem 0 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mobile-table-hint {
  display: none;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: white;
}

caption {
  padding: 1rem;
  color: var(--muted);
  text-align: left;
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--brand-deep);
  background: var(--mint-soft);
}

tbody th {
  width: 150px;
  color: var(--muted);
  font-size: 0.85rem;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.category-figure {
  margin: 0;
}

.category-figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.reference-image {
  width: min(calc(100% - 2rem), var(--max));
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wash);
}

.reference-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1300 / 440;
  object-fit: cover;
}

.reference-image figcaption {
  padding: 0.75rem 1rem 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--wash);
}

.faq-item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
}

.faq-item p {
  margin: 0;
}

.path-section {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.related-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.related-links span {
  color: var(--muted);
  font-size: 0.82rem;
}

.workflow-card,
.insight-card {
  min-height: 240px;
}

.workflow-card h2,
.insight-card h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
}

.workflow-card h2 a,
.insight-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.resource-card {
  overflow: hidden;
}

.resource-card-image {
  display: block;
  margin: calc(clamp(1.3rem, 2.6vw, 2.2rem) * -1);
  margin-bottom: 1.2rem;
  background: var(--wash);
}

.resource-card-image img {
  width: 100%;
  aspect-ratio: 1300 / 440;
  object-fit: cover;
}

.resource-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.18;
}

.resource-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.category-pills a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.78rem;
}

.resource-intro {
  max-width: 900px;
}

.resource-category {
  scroll-margin-top: 90px;
}

.article-feature {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wash);
}

.article-feature img {
  width: 100%;
  aspect-ratio: 1300 / 440;
  object-fit: cover;
}

.article-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.resource-links {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.resource-links a {
  display: grid;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
}

.resource-links a span,
.resource-links a small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

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

.search-hero {
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.product-search-form {
  display: flex;
  gap: 0.65rem;
  width: min(760px, 100%);
  margin-top: 1.6rem;
}

.product-search-form input {
  min-width: 0;
  flex: 1;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.search-examples {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-example {
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: var(--paper);
  font: inherit;
  cursor: pointer;
}

.product-search-results {
  display: grid;
  gap: 0.8rem;
}

.search-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.search-result-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.search-result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-result-meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0.55rem 0 0;
}

.search-result-meta span {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--mint-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.search-result-card > a {
  align-self: center;
  white-space: nowrap;
}

.search-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.search-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
}

.search-category-list span {
  color: var(--muted);
  font-size: 0.72rem;
}

.article-prose .table-wrap table {
  min-width: 760px;
}

.metric-grid article {
  min-height: 210px;
}

.metric-grid h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.2fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--mint-soft);
}

.callout h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
}

.callout p {
  margin: 0;
}

.checklist {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
}

.contact-card {
  min-height: 245px;
}

.contact-card h2 {
  overflow-wrap: anywhere;
  font-size: clamp(1.4rem, 2.7vw, 2.1rem);
}

.location-card {
  min-height: 230px;
}

.location-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.error-page {
  min-height: 65vh;
}

.site-footer {
  padding: 4rem max(24px, calc((100vw - var(--max)) / 2)) 2rem;
  color: #d5e7e5;
  background: #061f29;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: white;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-footer p,
.site-footer li {
  color: #aac2c0;
  font-size: 0.88rem;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #d5e7e5;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.quote-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  padding: 2rem;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 100px rgba(4, 29, 38, 0.35);
}

.quote-dialog::backdrop {
  background: rgba(5, 30, 39, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.quote-form label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.quote-form .checkbox {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 400;
}

.quote-form .checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.quote-form .span-2 {
  grid-column: span 2;
}

.quote-form .honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
}

.form-status {
  margin: 0;
  font-size: 0.8rem;
}

.form-status.success {
  color: #19705c;
}

.form-status.error {
  color: #a73a3a;
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image img {
    height: clamp(310px, 58vw, 520px);
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-panel,
  .workflow-section,
  .page-hero-grid,
  .prose-grid,
  .product-layout,
  .callout,
  .local-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .sticky {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-list ul {
    columns: 2;
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 26px, var(--max));
    min-height: 70px;
    gap: 0.55rem;
  }

  .brand {
    flex-basis: 132px;
  }

  .brand img {
    width: 132px;
  }

  .header-inner > .button {
    display: none;
  }

  .mobile-nav nav {
    position: fixed;
    top: 70px;
    right: 13px;
    left: 13px;
    min-width: 0;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .section {
    width: min(100% - 30px, var(--max));
  }

  .feature-panel {
    width: min(100% - 30px, var(--max));
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero,
  .page-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-image,
  .page-hero-image,
  .product-image {
    border-radius: 18px;
  }

  .answer-band,
  .answer-box {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-right: 20px;
    padding-left: 20px;
  }

  .answer-box .small {
    grid-column: auto;
  }

  .category-grid,
  .product-grid,
  .product-directory,
  .workflow-grid,
  .insight-grid,
  .metric-grid,
  .location-grid,
  .contact-grid,
  .stat-grid,
  .link-list,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-search-form {
    display: grid;
  }

  .search-result-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-category-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p,
  .section-heading > .text-link {
    margin-top: 1rem;
  }

  .category-card,
  .product-card {
    min-height: 220px;
  }

  .path-section {
    grid-template-columns: 1fr;
  }

  .related-list ul {
    columns: 1;
  }

  .footer-bottom {
    display: block;
  }

  .quote-dialog {
    padding: 1.4rem;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form .span-2 {
    grid-column: auto;
  }

  .mobile-table-hint {
    display: block;
    margin: 0 0 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
