:root {
  --color-bg: #f3f5f6;
  --color-surface: #ffffff;
  --color-surface-muted: #e8edf1;
  --color-text: #161d24;
  --color-text-soft: #495661;
  --color-border: #d1d9e0;
  --color-border-strong: #98a7b4;
  --color-accent: #c92228;
  --color-accent-dark: #97181c;
  --color-ink: #0e151b;
  --color-shadow: rgba(10, 24, 38, 0.05);
  --radius-sm: 0.35rem;
  --radius-md: 0.55rem;
  --radius-lg: 0.75rem;
  --site-width: 1180px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--color-text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f7f8 30%, var(--color-bg) 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 34, 40, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  background: var(--color-ink);
  color: #fff;
  border-radius: 0.5rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5e7eb;
}

.site-shell,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--site-width));
  margin: 0 auto;
}

.site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.45rem;
  padding: 0.45rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  line-height: 0;
  overflow: visible;
}

.site-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 60px;
  max-width: min(100%, 285px);
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-soft);
  font-weight: 700;
  font-size: 0.94rem;
  transition: color var(--transition);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff !important;
  box-shadow: 0 0.6rem 1.4rem rgba(201, 34, 40, 0.16);
}

main {
  display: block;
}

.hero {
  padding: 3rem 0 1.5rem;
}

.hero-grid,
.content-grid,
.two-column,
.cta-grid,
.contact-grid,
.split-visual {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  align-items: center;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 34, 40, 0.08);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 12.7ch;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-soft);
}

.lede {
  font-size: 1.03rem;
  max-width: 62ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.35rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.86rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.button {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0.85rem 1.8rem rgba(201, 34, 40, 0.18);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border-strong);
  color: var(--color-ink);
}

.hero-card,
.panel,
.card,
.contact-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(209, 217, 224, 0.98);
  border-radius: var(--radius-lg);
  box-shadow: 0 0.6rem 1.3rem var(--color-shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-visual {
  padding: 0.9rem;
  background: #fff;
}

.hero-visual img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
  display: block;
  border: 1px solid rgba(209, 217, 224, 0.88);
}

.panel {
  padding: 1.35rem;
}

.section {
  padding: 1.15rem 0 3rem;
}

.section-tight {
  padding-top: 0.75rem;
  padding-bottom: 2rem;
}

.section-header {
  max-width: 48rem;
  margin-bottom: 1.35rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(232, 237, 241, 0.96));
  border-top: 1px solid rgba(214, 221, 228, 0.8);
  border-bottom: 1px solid rgba(214, 221, 228, 0.8);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 221, 228, 0.9);
  border-radius: var(--radius-md);
}

.stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--color-ink);
}

.stat span {
  display: block;
  color: var(--color-text-soft);
}

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

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

.card {
  padding: 1.25rem;
}

.card p:last-child,
.panel p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.45rem;
  margin-bottom: 1rem;
  background: rgba(201, 34, 40, 0.1);
  color: var(--color-accent-dark);
  font-weight: 800;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.list {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--color-text-soft);
}

.list li + li {
  margin-top: 0.65rem;
}

.note {
  padding: 1.2rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  background: rgba(201, 34, 40, 0.06);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--color-text);
}

.catalog-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 18rem);
  gap: 1.4rem;
  align-items: center;
}

.catalog-cover {
  justify-self: end;
  max-width: 16rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1rem 2.4rem rgba(15, 23, 32, 0.22);
}

.split-visual {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.88fr);
  align-items: stretch;
}

.visual-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 221, 228, 0.85);
  box-shadow: 0 0.65rem 1.4rem var(--color-shadow);
  background: #fff;
}

.visual-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.capability-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--color-accent);
}

.capability-panel h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.cta-band {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(201, 34, 40, 0.96), rgba(123, 18, 21, 0.96)),
    #9c1f22;
  color: #fff;
  box-shadow: 0 0.85rem 1.9rem rgba(123, 18, 21, 0.18);
}

.cta-band p,
.cta-band h2 {
  color: #fff;
}

.cta-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.cta-actions {
  justify-content: flex-end;
}

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

.contact-card {
  padding: 1.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.resource-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.resource-links a {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
  transition: border-color var(--transition), transform var(--transition);
}

.resource-links a:hover {
  transform: translateY(-1px);
  border-color: var(--color-border-strong);
}

.contact-links a,
.footer-links a {
  color: var(--color-accent-dark);
}

.page-hero {
  padding: 2.25rem 0 1.15rem;
}

.page-hero .panel {
  padding: 1.5rem;
}

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

.site-footer {
  background: #10161d;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2.4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 2rem;
  padding: 2.3rem 0;
}

.footer-brand img {
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: 270px;
  margin-bottom: 0.9rem;
  background: #fff;
  border-radius: 0.25rem;
  padding: 0.3rem 0.55rem 0.45rem;
}

.footer-title {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.4rem;
}

.footer-bottom-inner {
  grid-template-columns: 1fr;
  padding: 0;
}

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

@media (max-width: 960px) {
  .site-shell {
    min-height: 4.35rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 0.9rem;
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 32, 0.1);
  }

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

  .site-nav a {
    padding: 0.65rem 0.25rem;
  }

  .hero-grid,
  .content-grid,
  .capability-grid,
  .two-column,
  .catalog-panel,
  .split-visual,
  .cta-grid,
  .contact-grid,
  .footer-inner,
  .stats-strip {
    grid-template-columns: 1fr;
  }

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

  .catalog-cover {
    justify-self: start;
    max-width: 13rem;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 1.2rem), var(--site-width));
  }

  .site-shell {
    gap: 0.7rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .panel,
  .card,
  .contact-card,
  .cta-band {
    padding: 1.1rem;
  }

  h1 {
    max-width: none;
  }

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

  .actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary,
  .nav-cta {
    width: 100%;
  }

  .site-logo img {
    max-height: 46px;
    max-width: 230px;
  }

  .footer-brand img {
    max-height: 48px;
  }
}