:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #ebe8df;
  --ink: #181a1c;
  --muted: #5c6268;
  --line: #d7d2c6;
  --brand: #b5281d;
  --brand-dark: #7a1711;
  --steel: #2f4b5b;
  --teal: #0f6d68;
  --gold: #c8922d;
  --shadow: 0 18px 50px rgba(38, 42, 45, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.main-nav,
main > section,
.site-footer {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.main-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-lockup-text {
  display: grid;
  gap: 2px;
}

.brand-lockup-text strong {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.1;
}

.amfss-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 46px;
  border-radius: 6px;
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.amfss-logo {
  width: 64px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.buyfirestop-logo {
  width: 148px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--steel);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links[hidden] {
  display: none !important;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--brand);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(280px, calc(100vw - 32px));
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-dropdown-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 4px;
}

.nav-dropdown-panel a[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
}

.nav-dropdown-panel span {
  font-size: 0.75rem;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--brand);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
}

.nav-action {
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.site-banner {
  background: var(--steel);
}

.site-banner img {
  width: 100%;
  height: clamp(280px, 46vw, 620px);
  object-fit: cover;
  object-position: center 68%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 36px;
  align-items: stretch;
  padding: 52px 0 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-brand-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.amfss-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.amfss-badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--steel);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.amfss-badge-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--steel);
}

.hero-brand-divider {
  width: 48px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.hero-lede {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 38px;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(181, 40, 29, 0.18);
}

.button.secondary {
  border-color: var(--steel);
  background: transparent;
  color: var(--steel);
}

.button.quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--steel);
}

.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
  padding: 0;
}

.trust-strip li {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-strip strong {
  color: var(--steel);
  font-size: 1.02rem;
  font-weight: 900;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  width: 100%;
  max-width: 550px;
  justify-self: center;
  margin: 0;
}

.industry-panel {
  margin: 0;
}

.hero-media {
  width: 100%;
  height: 400px;
  min-height: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  object-position: center top;
  box-sizing: border-box;
  filter: drop-shadow(0 24px 42px rgba(20, 25, 30, 0.22));
}

.media-note {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(20, 25, 30, 0.12);
}

.media-note span {
  color: var(--muted);
}

main > section:not(.hero) {
  padding: 68px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.fire-risks {
  scroll-margin-top: 104px;
}

.fire-risk-grid,
.fire-impact-grid {
  display: grid;
  gap: 16px;
}

.fire-risk-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fire-risk-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
}

.fire-risk-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #f9ece8;
  color: var(--brand-dark);
}

.fire-risk-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.fire-risk-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.fire-risk-card .fire-risk-focus {
  margin-bottom: 12px;
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 700;
}

.fire-risk-card p:last-child,
.fire-impact-card p {
  margin-bottom: 0;
}

.fire-impact {
  margin-top: 32px;
}

.fire-impact > h3 {
  margin-bottom: 16px;
  color: var(--steel);
}

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

.fire-impact-card {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--steel);
  color: #fff;
}

.fire-impact-card h4 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.fire-impact-card p {
  color: #eef2f4;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .fire-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .fire-risk-grid,
  .fire-impact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.domain-grid,
.category-grid,
.product-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.domain-grid article,
.category-card,
.product-card,
.flow-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.domain-label,
.product-brand,
.flow-step {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-label.accent,
.product-brand {
  background: rgba(181, 40, 29, 0.11);
  color: var(--brand-dark);
}

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

.category-card {
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

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

.product-card {
  display: flex;
  flex-direction: column;
}

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

.product-card.is-hidden {
  display: none;
}

.sku {
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.product-footer a {
  color: var(--brand);
}

.industries {
  scroll-margin-top: 104px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.industry-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
}

.industry-card h3 {
  margin-bottom: 12px;
  color: var(--steel);
  font-size: 1.1rem;
  line-height: 1.3;
}

.industry-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.industry-copy,
.logo-panel,
.industry-panel {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
}

.logo-panel {
  display: grid;
  place-items: center;
  gap: 28px;
}

.logo-panel img {
  max-height: 80px;
  object-fit: contain;
}

.industry-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.industry-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.support-flow {
  background: #ffffff;
  color: var(--ink);
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-flow .section-heading,
.support-flow .flow-grid {
  width: min(var(--container), 100%);
  margin-right: auto;
  margin-left: auto;
}

.support-flow .eyebrow {
  color: var(--brand);
}

.support-flow h2 {
  color: var(--ink);
}

.support-flow .section-heading > p:last-child {
  color: #25313a;
  max-width: 72ch;
  font-size: 1.12rem;
  line-height: 1.65;
  font-weight: 700;
}

.support-flow .flow-grid h3,
.support-flow .flow-grid p {
  color: var(--ink);
}

.support-flow .flow-grid p {
  color: #33424d;
}

.flow-grid article {
  background: #f7f4ee;
  border-color: #c9c2b4;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(20, 25, 30, 0.06);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  color: var(--steel);
  font-size: 1.02rem;
  font-weight: 900;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  scroll-margin-top: 88px;
}

.faq-column {
  min-width: 0;
}

.faq-column > h2 {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.2;
}

.faq-resources .faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.faq-resources .faq-item summary::after {
  float: none;
  flex: 0 0 auto;
}

.imo-content {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.imo-content p {
  padding: 0;
  margin: 0 0 16px;
}

.imo-content > :last-child {
  margin-bottom: 0;
}

.imo-table {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}

.imo-table caption {
  padding-bottom: 8px;
  color: var(--steel);
  text-align: left;
  font-weight: 700;
}

.imo-table th,
.imo-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.imo-table thead th {
  color: var(--steel);
  background: #f6f5f1;
}

.imo-table tbody th {
  font-weight: 400;
}

.imo-table th:last-child,
.imo-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.imo-table td:last-child {
  white-space: nowrap;
}

.imo-table-note,
.imo-source,
.imo-scope {
  font-size: 0.85rem;
}

.imo-source {
  margin: 20px 0 12px;
}

.imo-source a {
  color: #185a9d;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.imo-scope {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .faq-resources {
    grid-template-columns: minmax(0, 1fr);
  }
}

.flow-grid p {
  color: #33424d;
}

.flow-step {
  background: var(--brand);
  color: #fff;
}

main > section.quote-band {
  padding: 56px;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.quote-intro > p:last-child {
  margin-bottom: 0;
}

.quote-panel {
  min-width: 0;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf9f6;
}

.quote-message,
.quote-form .form-status,
#quote-verification-status,
.quote-actions {
  grid-column: 1 / -1;
}

#quote-verification-status {
  margin-bottom: 0;
}

.quote-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 0;
}

.quote-actions noscript {
  flex-basis: 100%;
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
}

.form-status[data-state="sent"] {
  background: rgba(15, 109, 104, 0.12);
  color: var(--teal);
  border: 1px solid rgba(15, 109, 104, 0.24);
}

.form-status[data-state="invalid"],
.form-status[data-state="error"] {
  background: rgba(181, 40, 29, 0.08);
  color: var(--brand-dark);
  border: 1px solid rgba(181, 40, 29, 0.18);
}

.quote-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 900;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.quote-form textarea {
  resize: vertical;
}

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

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  align-items: start;
  scroll-margin-top: 104px;
}

.about-copy {
  max-width: 650px;
}

.about-copy p,
.about-details p {
  color: var(--muted);
}

.about-copy > p:not(.eyebrow) {
  margin-bottom: 0;
}

.about-tabs {
  margin-top: 0;
}

.about-tab-list:not([hidden]) {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.about-tab {
  padding: 12px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.about-tab:hover {
  color: var(--brand);
}

.about-tab[aria-selected="true"] {
  border-bottom-color: var(--brand);
  color: var(--brand);
}

.about-panel {
  padding: 20px 0 0;
}

.about-panel[hidden] {
  display: none;
}

.about-tabs.is-enhanced .about-panel h3 {
  display: none;
}

.about-panel p {
  margin: 0;
}

.about-panel:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.about-quote {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-quote blockquote {
  margin: 0;
}

.about-quote blockquote p {
  margin: 0;
  max-width: 52ch;
  color: var(--steel);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.about-quote figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 88px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-dropdown-panel {
    position: static;
    width: auto;
    margin-top: 8px;
    box-shadow: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .industry-layout,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
  }

  .hero-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-media img {
    object-position: center top;
  }

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

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

@media (max-width: 760px) {
  .quote-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #quote-submit {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .main-nav {
    min-height: 72px;
    gap: 16px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-lockup-text strong {
    font-size: 0.95rem;
  }

  .nav-links {
    inset: 88px 16px auto 16px;
  }

  .hero-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    padding: 16px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-strip,
  .domain-grid,
  .category-grid,
  .product-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  main > section.quote-band {
    padding: 24px;
  }

  .quote-form {
    padding: 16px;
  }
}

/* ─── Legal pages ─────────────────────────────────────────── */
.legal-nav {
  width: min(var(--container), calc(100% - 32px));
  margin: 24px auto 0;
  font-size: 0.9rem;
}
.legal-nav a { color: var(--steel); }

.legal-page {
  width: min(780px, calc(100% - 32px));
  margin: 32px auto 80px;
}
.legal-page h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 8px; }
.legal-date { color: var(--muted); margin-bottom: 40px; font-size: 0.9rem; }
.legal-page h2 { font-size: 1.2rem; margin-top: 36px; margin-bottom: 8px; color: var(--steel); }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.7; }
.legal-page ul, .legal-page ol { padding-left: 1.4em; }
.legal-page a { color: var(--brand); }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 32px));
  z-index: 100;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.cookie-banner-copy {
  flex: 1;
  min-width: 220px;
}

.cookie-banner-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.cookie-banner-inner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner-actions .button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.cookie-banner-actions .button.primary {
  background: var(--brand);
  box-shadow: none;
}

.cookie-banner-actions .button.secondary {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
