:root {
  color-scheme: light;
  --nl-steel-950: #12191e;
  --nl-steel-850: #1d282f;
  --nl-steel-700: #33424b;
  --nl-ink: #172127;
  --nl-muted: #50606a;
  --nl-surface: #edf2f4;
  --nl-surface-2: #f7f9fa;
  --nl-white: #ffffff;
  --nl-border: #d8e0e5;
  --nl-border-strong: #aebbc3;
  --nl-red: #b51f24;
  --nl-red-deep: #8f171c;
  --nl-blue: #2c77a9;
  --nl-focus: #f04f55;
  --nl-radius-sm: 6px;
  --nl-radius-md: 8px;
  --nl-max: 1180px;
  --nl-font: Arial, Helvetica, sans-serif;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nl-surface);
  color: var(--nl-ink);
  font: 16px/1.55 var(--nl-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--nl-blue);
  color: var(--nl-white);
}

.site-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nl-steel-950);
  color: var(--nl-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner,
.section-inner {
  width: min(100% - 32px, var(--nl-max));
  margin-inline: auto;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--nl-white);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--nl-radius-md);
  background: var(--nl-blue);
  color: var(--nl-white);
  font-weight: 900;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--nl-radius-sm);
  background: transparent;
  color: var(--nl-white);
  font: 800 0.9rem/1 var(--nl-font);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: #d6e0e5;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--nl-white);
}

.site-nav .quote-link,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--nl-radius-sm);
  padding: 0 16px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav .quote-link,
.button-primary {
  background: var(--nl-red);
  color: var(--nl-white);
}

.site-nav .quote-link:hover,
.button-primary:hover {
  background: var(--nl-red-deep);
  color: var(--nl-white);
}

.button-secondary {
  background: var(--nl-white);
  color: var(--nl-ink);
  border-color: var(--nl-border-strong);
}

.button-secondary:hover {
  border-color: var(--nl-steel-700);
  color: var(--nl-steel-950);
}

.hero {
  background: var(--nl-surface);
  border-bottom: 1px solid var(--nl-border);
}

.hero-grid {
  width: min(100% - 32px, var(--nl-max));
  margin-inline: auto;
  padding: clamp(42px, 7vw, 82px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-product {
  min-width: 0;
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius-md);
  background: var(--nl-white);
  padding: 12px;
}

.hero-product img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  background: var(--nl-surface-2);
}

.hero-product h3,
.hero-product p {
  margin: 10px 0 0;
}

.hero-product p {
  color: var(--nl-muted);
  font-size: 0.92rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--nl-red);
  font-weight: 850;
}

h1,
h2,
h3 {
  color: var(--nl-ink);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin: 0 0 18px;
  max-width: 12ch;
  font-size: 4.75rem;
  line-height: 0.98;
}

h2 {
  margin: 0 0 14px;
  font-size: 2.65rem;
  line-height: 1.04;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

.lead {
  max-width: 64ch;
  margin: 0;
  color: var(--nl-muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

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

.section {
  padding: clamp(44px, 7vw, 82px) 0;
  scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

.section + .section {
  border-top: 1px solid var(--nl-border);
}

[id] {
  scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-header p {
  max-width: 56ch;
  color: var(--nl-muted);
  margin: 0;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.family-card,
.product-card,
.proof-card,
.contact-card {
  background: var(--nl-white);
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius-md);
}

.family-card {
  min-height: 220px;
  padding: 18px;
  display: grid;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.family-card:hover,
.product-card:hover {
  border-color: var(--nl-border-strong);
}

.family-card img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  background: var(--nl-surface-2);
}

.family-card p,
.product-card p,
.proof-card p,
.contact-card p {
  margin: 0;
  color: var(--nl-muted);
}

.product-grid {
  display: grid;
  gap: 12px;
}

.product-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.product-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: var(--nl-surface-2);
  border: 1px solid #e4e9ec;
}

.product-card h3 {
  margin-bottom: 6px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 26px;
  border: 1px solid #ccd6dc;
  border-radius: var(--nl-radius-sm);
  padding: 4px 8px;
  color: var(--nl-steel-700);
  background: var(--nl-surface-2);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.proof-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.proof-card,
.contact-card {
  padding: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.contact-list p {
  margin: 0;
  color: var(--nl-muted);
  overflow-wrap: anywhere;
}

.contact-list strong {
  color: var(--nl-ink);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 8px;
}

.filter-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius-sm);
  background: var(--nl-white);
  color: var(--nl-ink);
  text-align: left;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 800 0.9rem/1 var(--nl-font);
}

.filter-button:hover {
  border-color: var(--nl-border-strong);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--nl-red);
  color: var(--nl-red-deep);
  background: #fff7f7;
}

.filter-button[aria-pressed="true"]::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  background: currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

[hidden] {
  display: none !important;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--nl-border-strong);
  border-radius: var(--nl-radius-sm);
  background: var(--nl-white);
  color: var(--nl-ink);
  padding: 10px 12px;
  font: 1rem/1.4 var(--nl-font);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--nl-red);
  background: #fff7f7;
}

.field input:disabled,
.field textarea:disabled,
.field select:disabled {
  background: var(--nl-surface-2);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #596873;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  min-height: 1.2em;
  color: var(--nl-red-deep);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-weight: 800;
}

.form-status.is-success {
  color: #1f6b3d;
}

.form-status.is-error {
  color: var(--nl-red-deep);
}

.is-submitting button[type="submit"],
button.is-submitting {
  cursor: wait;
}

.site-footer {
  margin-top: auto;
  background: var(--nl-steel-950);
  color: #d6e0e5;
  padding: 28px 0;
}

.footer-grid {
  width: min(100% - 32px, var(--nl-max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--nl-white);
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--nl-radius-md);
    background: var(--nl-steel-950);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .quote-link {
    width: 100%;
  }

  .hero-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .section-header {
    display: grid;
    align-items: start;
  }

  .catalog-sidebar {
    position: static;
  }

  .product-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-card img {
    width: 96px;
    height: 96px;
  }

  .product-card .button-secondary {
    grid-column: 1 / -1;
    width: max-content;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .section-inner,
  .hero-grid,
  .footer-grid {
    width: min(100% - 24px, var(--nl-max));
  }

  .brand {
    gap: 10px;
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-products {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    width: 100%;
    height: 150px;
  }

  .product-card .button-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
