:root {
  --ink: #34403b;
  --heading: #28332f;
  --muted: #6c7772;
  --line: #dce5df;
  --paper: #f8faf7;
  --panel: #ffffff;
  --green: #2f7d57;
  --green-dark: #174e35;
  --rose: #d96d5b;
  --blue: #dcecf6;
  --shadow: 0 12px 32px rgba(25, 35, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

h1,
h2,
h3 {
  color: var(--heading);
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.16;
}

.container {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
  scroll-margin-top: 96px;
}

.section--surface {
  background: #ffffff;
}

.section-heading {
  margin-bottom: 32px;
}

.section-copy {
  margin-bottom: 30px;
}

.section-copy h2 {
  white-space: nowrap;
}

.section-copy--feature h2 {
  font-size: clamp(34px, 3.6vw, 46px);
}

.section-copy--compact h2 {
  font-size: clamp(34px, 3vw, 40px);
}

.section-copy p:not(.eyebrow),
.info-card p {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow,
.product-subtitle {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  width: max-content;
  color: #ffffff;
  background: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--green-dark);
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  background: #ffffff;
}

.hero-media {
  min-height: 540px;
  background: var(--blue);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(42px, 7vw, 96px);
}

.hero-copy p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-gallery {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--blue);
}

.slides,
.slide,
.slide img {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  object-fit: contain;
  background: #ffffff;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(25, 35, 31, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(25, 35, 31, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-button span {
  display: block;
  margin-top: -3px;
  font-size: 34px;
  line-height: 1;
}

.gallery-button.prev {
  left: 14px;
}

.gallery-button.next {
  right: 14px;
}

.gallery-dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(25, 35, 31, 0.3);
  border: 0;
  border-radius: 999px;
}

.dot.active {
  width: 22px;
  background: var(--green);
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
}

.product-body ul {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.product-body li::marker {
  color: var(--green);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.amazon-link {
  color: #ffffff;
  background: var(--rose);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.info-card h3 {
  font-size: 21px;
}

.product-video {
  width: 100%;
  max-width: 1120px;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000000;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 30px clamp(18px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, auto) auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 138px;
  height: auto;
}

.footer-brand strong,
.footer-brand span,
.footer-meta span,
.footer-meta a {
  display: block;
}

.footer-brand strong {
  color: var(--heading);
  font-size: 18px;
  font-weight: 900;
}

.footer-brand span,
.footer-meta span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.footer-meta a,
.footer-top {
  color: var(--green-dark);
  font-weight: 900;
}

.footer-top {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .hero,
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-copy {
    order: -1;
  }

  .product-gallery {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  .section {
    padding-block: 58px;
    scroll-margin-top: 138px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand img {
    width: 122px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .section-copy h2 {
    white-space: normal;
  }

  .hero-copy {
    padding: 36px 18px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-media {
    min-height: 360px;
  }

  .product-gallery {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .product-body {
    padding: 20px;
  }

  .product-body ul {
    font-size: 15px;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .amazon-link,
  .button.primary {
    width: 100%;
  }

  .gallery-button {
    width: 40px;
    height: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-top {
    justify-self: start;
  }
}
