:root {
  --ink: #101421;
  --muted: #586174;
  --paper: #f7f8fa;
  --panel: #ffffff;
  --line: #e2e5ea;
  --brand: #ef233c;
  --brand-dark: #b90e27;
  --gold: #ffd166;
  --blue: #1d4ed8;
  --green: #047857;
  --shadow: 0 22px 55px rgba(16, 20, 33, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--blue);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 229, 234, 0.9);
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}

.button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

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

.button.secondary:hover {
  background: #fff;
  color: var(--brand-dark);
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  padding: 72px 0 56px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7f8fa 54%, #fff1ed 100%),
    var(--paper);
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2.45rem, 5.6vw, 5.15rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #363d4d;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
}

.hero-card-body {
  padding: 26px;
  border-top: 5px solid var(--brand);
}

.hero-card-body h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #f1efe8;
}

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

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.card p,
.body-copy p,
.body-copy li {
  color: var(--muted);
}

.card p:last-child,
.body-copy p:last-child {
  margin-bottom: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: #3c4558;
  font-size: 0.84rem;
  font-weight: 700;
}

.product {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.product:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e7f7ef;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-band {
  background: var(--ink);
  color: #fff;
  padding: 70px 0;
}

.contact-band p,
.contact-band a {
  color: #e8e4da;
}

.contact-band .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.page-title {
  padding: 64px 0 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 56%, #fff1ed 100%);
}

.page-title h1 {
  max-width: 880px;
  font-size: clamp(2.15rem, 4.4vw, 4rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.address {
  white-space: pre-line;
}

@media (max-width: 850px) {
  .nav {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    gap: 10px 15px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 44px;
  }

  .hero-grid,
  .grid.two,
  .grid.three,
  .product,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(1.95rem, 9.6vw, 2.9rem);
    line-height: 1.03;
  }

  .page-title h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

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

  .nav-links .button {
    display: none;
  }

  .hero-actions,
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .lead {
    max-width: 29ch;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }
}
