:root {
  color-scheme: light;
  --ink: #162238;
  --muted: #5b6880;
  --line: #dbe2eb;
  --canvas: #f6f8fb;
  --surface: #ffffff;
  --accent: #1d4f8f;
  --accent-deep: #183b6a;
  --radius: 18px;
  --page: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

.site-header,
.hero,
.intro,
.range,
.featured,
.product-list,
.site-footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: flex;
  min-width: 120px;
  align-items: center;
}

.site-brand img {
  display: block;
  width: auto;
  max-width: 174px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
  min-height: 640px;
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  padding-block: 58px 76px;
}

.hero-copy { max-width: 540px; }

.kicker {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 { line-height: 1.08; }

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(44px, 5.3vw, 73px);
  letter-spacing: -.06em;
}

.hero-copy > p:not(.kicker) {
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 19px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover { background: var(--accent-deep); }

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover { border-color: #b9c6d7; }

.hero-media {
  position: relative;
  min-height: 480px;
}

.hero-product {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #e7edf5;
  box-shadow: 0 20px 50px rgba(20, 48, 83, .12);
}

.hero-product img,
.category-card img,
.featured-media img,
.product-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-1 {
  top: 0;
  right: 0;
  width: 76%;
  height: 410px;
}

.hero-product-2 {
  bottom: 0;
  left: 0;
  width: 46%;
  height: 240px;
  border: 9px solid var(--canvas);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, .7fr);
  gap: 52px;
  padding-block: 102px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 3.2vw, 48px);
  letter-spacing: -.045em;
}

.intro > p,
.featured-copy > p {
  max-width: 42ch;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.range { padding-block: 0 102px; }

.section-copy { max-width: 590px; }

.category-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
  margin-top: 36px;
}

.category-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  align-items: end;
  border-radius: var(--radius);
  background: #d8e2ee;
  color: #fff;
}

.category-card:first-child { grid-row: span 2; }
.category-card:nth-child(4) { grid-column: span 2; }

.category-card img {
  position: absolute;
  inset: 0;
  opacity: .8;
  filter: saturate(.8);
  transition: transform .35s ease;
}

.category-card:hover img { transform: scale(1.04); }

.category-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(10, 25, 45, .78));
  content: "";
}

.category-card > div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.category-card h3 {
  margin-bottom: 5px;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: -.035em;
}

.category-card a {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.featured {
  display: grid;
  grid-template-columns: minmax(350px, .95fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 108px);
  padding-block: 102px;
  border-top: 1px solid var(--line);
}

.featured-media {
  height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7edf5;
}

.featured-copy .button { margin-top: 30px; }

.product-list { padding-block: 0 102px; }

.product-list > h2 {
  max-width: 10ch;
  margin-bottom: 28px;
}

.product-list > div {
  display: grid;
  grid-template-columns: 1.16fr .84fr 1fr;
  gap: 14px;
}

.product-list article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.product-list article:nth-child(2) { margin-top: 42px; }

.product-list img {
  aspect-ratio: 1.18;
  background: #e7edf5;
}

.product-list h3 {
  margin: 18px 18px 5px;
  font-size: 16px;
  letter-spacing: -.025em;
}

.product-list p {
  margin: 0 18px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.empty-message {
  margin: 30px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding-block: 38px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}

.site-footer strong {
  display: block;
  font-size: 16px;
}

.site-footer p {
  max-width: 42ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .category-card img { transition: none; }
}

@media (max-width: 760px) {
  :root { --page: min(100% - 32px, 560px); }

  .site-header {
    min-height: 68px;
    gap: 16px;
  }

  .site-brand img { max-width: 128px; max-height: 34px; }

  .site-nav {
    gap: 14px;
    font-size: 11px;
  }

  .site-nav a:nth-child(2) { display: none; }

  .hero,
  .intro,
  .featured {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 38px;
    padding-block: 44px 66px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy > p:not(.kicker),
  .intro > p,
  .featured-copy > p { font-size: 15px; }

  .hero-media { min-height: 345px; }
  .hero-product-1 { width: 79%; height: 300px; }
  .hero-product-2 { width: 50%; height: 170px; }

  .intro {
    gap: 0;
    padding-block: 68px;
  }

  .intro > p { margin-top: 24px; }

  .range,
  .featured,
  .product-list { padding-bottom: 68px; }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 180px 180px;
    gap: 10px;
    margin-top: 26px;
  }

  .category-card:first-child { grid-column: span 2; grid-row: auto; }
  .category-card:nth-child(4) { grid-column: auto; }
  .category-card > div { padding: 17px; }

  .featured {
    gap: 30px;
    padding-top: 68px;
  }

  .featured-media { height: 330px; }

  .product-list > div { grid-template-columns: 1fr 1fr; }
  .product-list article:last-child { grid-column: span 2; }
  .product-list article:nth-child(2) { margin-top: 0; }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    padding-block: 30px;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #edf3fb;
    --muted: #abb8ca;
    --line: #29394d;
    --canvas: #111d2b;
    --surface: #172638;
    --accent: #74a8e7;
    --accent-deep: #a3c7f3;
  }

  .button-primary { color: #10233a; }
  .button-secondary { border-color: #32465e; color: var(--ink); }
  .hero-product,
  .featured-media,
  .product-list img { background: #22364c; }
  .category-card { background: #22364c; }
}
