:root {
  --ink: #172033;
  --muted: #667085;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --line: #d9e2ec;
  --navy: #12355b;
  --teal: #0f766e;
  --gold: #d99a27;
  --shadow: 0 20px 55px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.hero {
  padding: clamp(46px, 8vw, 86px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 48px);
  color: #fff;
  background:
    linear-gradient(rgba(18, 53, 91, 0.78), rgba(15, 118, 110, 0.78)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f5c568;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: #e8f4f2;
  font-size: 18px;
  line-height: 1.7;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 56px) clamp(48px, 7vw, 84px);
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.06);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14), var(--shadow);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e9eef6;
}

.product-body {
  padding: 22px;
}

.product-body span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  background: #e9f7f5;
}

.product-body h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.product-body p {
  min-height: 78px;
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.product-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: var(--navy);
}

.product-body a:hover {
  background: var(--teal);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: #12355b;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  font-size: 20px;
}

.site-footer span {
  margin-top: 5px;
  color: #d8e7f2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  color: #12355b;
  font-weight: 800;
  background: #ffffff;
}

.footer-links a:first-child {
  color: #ffffff;
  background: #0f766e;
}

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

@media (max-width: 640px) {
  .products {
    grid-template-columns: 1fr;
  }

  .product-body p {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
