/* ==========================================================================
   Apinature PETS – landing page
   Design: Web 1920 – 12 (ApiNature 2026-17 apipet kampanja)
   ========================================================================== */

:root {
  /* Brand */
  --green: #4e8774;
  --green-icon: #3d7563;
  --green-dark: #274137;
  --green-ink: #27412d;
  --ink: #2b372e;
  --muted: #6b7a6f;
  --grey: #858585;
  --eyebrow: #76927d;

  --cream: #fbf8f0;
  --cream-light: #fefcf8;
  --cream-strip: #f6f1e6;
  --cream-faq: #f2ece0;
  --white: #fffdfc;

  --maroon: #652a28;
  --maroon-shadow: #4a1412;
  --yellow: #ffd644;
  --yellow-cta: #f5c618;
  --yellow-shadow: #c79a06;
  --footer: #1f2a22;
  --footer-accent: #a5d16a;

  /* Product palettes */
  --koza: #2c82c2;
  --koza-bg: #d5e7f2;
  --koza-card: #dae9f4;
  --koza-ink: #0f2f4d;
  --koza-btn: #2a5a87;
  --imun: #9b5c9c;
  --imun-bg: #e3dbf0;
  --imun-card: #e7e0f2;
  --imun-ink: #664467;
  --imun-title: #a267a3;
  --energ: #3f7d3f;
  --energ-bg: #e1eed9;
  --energ-card: #e1edd8;
  --energ-ink: #234021;
  --sklep: #8c4d39;
  --sklep-bg: #ecddd4;
  --sklep-card: #ebdcd2;
  --sklep-ink: #603833;
  --preb: #af375e;
  --preb-bg: #ffe5ed;
  --preb-card: #ffdbe6;
  --preb-ink: #772b44;

  /* Type – Freight Sans (Adobe Fonts) with Fira Sans fallbacks */
  --font: "freight-sans-pro", system-ui, sans-serif;
  --font-cond: "freight-sans-condensed-pro", sans-serif;
  /* Adobe Fonts web cuts differ from the desktop names used in XD – mapped visually to the design export */
  --font-cond-black: "freight-sans-condensed-pro", "freight-sans-compressed-pro", sans-serif;
  /* XD: Condensed Black (900) */
  --font-comp: "freight-sans-compressed-pro", sans-serif;

  /* Layout */
  --wide: 1630px;
  --main: 1480px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-section: clamp(32px, 4vw, 70px);
  /* Shadows from XD */
  --shadow-soft: 0 3px 3px rgba(0, 0, 0, 0.16);
  --shadow-section: 0 3px 10px rgba(0, 0, 0, 0.36);
  --shadow-pack: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.51));
  --shadow-text-hero: 0 3px 2.5px rgba(0, 0, 0, 0.23);
}

/* Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.35;
  color: var(--ink);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--main));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2 * var(--gutter), var(--wide));
}

.eyebrow {
  font-size: clamp(16px, 1.3vw, 25px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.h2 {
  font-family: var(--font-cond-black);
  font-weight: 900;
  font-size: clamp(38px, 3.65vw, 70px);
  line-height: 1.03;
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border-radius: 999px;
  border: 0;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 0.75em;
  height: 0.75em;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(2px);
}

.btn--maroon {
  background: var(--maroon);
  color: var(--cream);
  padding: 0 1.75em;
  height: 66px;
  font-size: 20px;
  box-shadow: 0 5px 0 var(--maroon-shadow);
}

.btn--maroon:active {
  box-shadow: 0 1px 0 var(--maroon-shadow);
}

.btn--outline {
  height: 66px;
  padding: 0 1.75em;
  font-size: 20px;
  color: var(--cream);
  border: 1.5px solid var(--cream);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(251, 248, 240, 0.12);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--maroon);
  font-weight: 700;
  font-size: 25px;
  height: 63px;
  padding: 0 1em;
  box-shadow: 0 5px 0 var(--yellow-shadow);
}

.btn--yellow:active {
  box-shadow: 0 1px 0 var(--yellow-shadow);
}

.btn--cta {
  background: var(--yellow-cta);
  color: var(--footer);
  font-weight: 600;
  font-size: clamp(20px, 1.3vw, 25px);
  height: 76px;
  padding: 0 2em;
  box-shadow: 0 5px 0 var(--yellow-shadow);
}

.btn--buy {
  height: 73px;
  min-width: 177px;
  padding: 0 1.4em;
  font-size: 25px;
  background: var(--cream);
  color: var(--accent-ink);
  border: 1px solid var(--accent-ink);
  letter-spacing: 0.02em;
}

.btn--buy:hover {
  background: var(--accent-ink);
  color: var(--cream);
}

/* Header ---------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(31, 42, 34, 0.18) 0%, rgba(31, 42, 34, 0) 100%);
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  width: clamp(130px, 14.2vw, 272px);
  aspect-ratio: 272 / 216;
  overflow: hidden;
  flex: none;
}

.logo img {
  width: 100%;
  margin-top: -21.3%;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.4vw, 50px);
  padding-top: 29px;
}

.nav__links {
  display: flex;
  gap: clamp(20px, 2.1vw, 45px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--cream);
  font-weight: 600;
  font-size: clamp(18px, 1.3vw, 25px);
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav .btn--yellow {
  margin-left: clamp(0px, 1.2vw, 26px);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  gap: 0;
  padding-top: clamp(150px, 13.9vw, 267px);
  padding-bottom: clamp(70px, 6.5vw, 125px);
}

.hero__title {
  font-family: var(--font-comp);
  /* XD: Compressed Black → web compressed 700 */
  font-weight: 700;
  font-size: clamp(44px, 4.17vw, 80px);
  line-height: 1;
  width: min(885px, 113%);
  position: relative;
  z-index: 1;
  text-shadow: var(--shadow-text-hero);
}

.hero__lead {
  margin-top: 0.5em;
  font-weight: 500;
  font-size: clamp(20px, 1.82vw, 35px);
  line-height: 1.14;
  max-width: 19.5em;
  text-shadow: 0 3px 1px rgba(0, 0, 0, 0.23);
}

.checklist {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 10px 26px;
  margin: clamp(28px, 2.8vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 13px;
}

.checklist li:last-child {
  grid-column: 1 / -1;
}

.checklist__icon {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--maroon);
  display: grid;
  place-items: center;
}

.checklist__icon svg {
  width: 12px;
  height: 12px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: clamp(40px, 3.6vw, 68px);
}

.hero__visual {
  position: relative;
  align-self: start;
  margin-top: -1.3vw;
  margin-left: -2%;
  width: 116%;
  aspect-ratio: 1026 / 654;
}

.hero__visual img {
  position: absolute;
  height: auto;
}

.hero__pets {
  left: 9.55%;
  top: 0;
  width: 90.45%;
}

.hero__pack {
  filter: var(--shadow-pack);
}

.hero__pack--1 {
  left: 12.96%;
  top: 45.57%;
  width: 28.65%;
}

.hero__pack--2 {
  left: 36.65%;
  top: 44.19%;
  width: 28.75%;
}

.hero__pack--3 {
  left: 25.63%;
  top: 54.74%;
  width: 28.85%;
}

.hero__pack--4 {
  left: 49.22%;
  top: 54.13%;
  width: 28.75%;
}

.hero__pack--5 {
  left: 0;
  top: 53.21%;
  width: 29.24%;
}

/* Wave + features strip ------------------------------------------------- */
.features {
  position: relative;
  background: var(--cream-strip);
  padding: 30px 0 clamp(36px, 3.4vw, 60px);
}

.features__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: clamp(16px, 2vw, 38px);
  color: var(--cream-strip);
}

.features__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 1440px;
}

.features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  font-weight: 500;
  font-size: clamp(17px, 1.15vw, 22px);
  color: var(--ink);
}

.features__icon {
  height: clamp(48px, 3.6vw, 69px);
  color: var(--green);
  display: grid;
  place-items: end center;
}

.features__icon svg {
  height: 100%;
  width: auto;
}

/* Product overview ------------------------------------------------------ */
.products {
  background: var(--cream);
  padding: clamp(70px, 6.8vw, 130px) 0 clamp(70px, 5.8vw, 110px);
  text-align: center;
}

.products .eyebrow {
  color: var(--green);
}

.products__title {
  margin-top: 0.3em;
}

.products__lead {
  max-width: 640px;
  margin: 0.8em auto 0;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.2;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  max-width: 1627px;
  margin: clamp(48px, 4.2vw, 80px) auto 0;
  padding-bottom: 46px;
  text-align: left;
}

.p-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-card {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-item:hover .p-card,
.p-item:focus-within .p-card {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
}

/* "Kupi" tab – slides out from under the card on hover */
.p-item__buy {
  position: absolute;
  left: 18px;
  right: 18px;
  top: calc(100% - 24px);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 34px 16px 12px;
  border-radius: 0 0 16px 16px;
  background: var(--accent);
  color: var(--cream);
  font-weight: 600;
  font-size: clamp(17px, 1.05vw, 20px);
  box-shadow: var(--shadow-soft);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.2), filter 0.2s ease;
}

.p-item__buy svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.p-item:hover .p-item__buy,
.p-item:focus-within .p-item__buy {
  transform: translateY(-6px);
}

.p-item__buy:hover {
  filter: brightness(1.1);
}

.p-item__buy:hover svg {
  transform: translateX(4px);
}

@media (hover: none) {
  .p-item__buy {
    transform: none;
  }
}

.p-card__media {
  position: relative;
  background: var(--accent-card);
  aspect-ratio: 310 / 394;
  display: grid;
  place-items: center;
}

.p-card__media img {
  width: 91%;
  margin-top: 6%;
  filter: var(--shadow-pack);
}

.p-card__tag {
  position: absolute;
  top: 20px;
  left: 0;
  padding: 7px 14px 7px 9px;
  border-radius: 0 40px 40px 0;
  background: var(--accent);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.05;
}

.p-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px clamp(18px, 1.5vw, 28px) 30px;
}

.p-card__title {
  font-weight: 700;
  font-size: clamp(20px, 1.3vw, 25px);
  color: var(--ink);
}

.p-card__text {
  margin-top: 0.55em;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.25;
  color: var(--grey);
  flex: 1;
}

.p-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.1em;
  font-weight: 600;
  font-size: clamp(17px, 1.05vw, 20px);
  color: var(--accent);
}

.p-card__link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.p-item:hover .p-card__link svg {
  transform: translateX(4px);
}

/* Product palettes */
.t-koza {
  --accent: var(--koza);
  --accent-bg: var(--koza-bg);
  --accent-card: var(--koza-card);
  --accent-ink: var(--koza-ink);
  --accent-title: var(--koza);
}

.t-imun {
  --accent: var(--imun);
  --accent-bg: var(--imun-bg);
  --accent-card: var(--imun-card);
  --accent-ink: var(--imun-ink);
  --accent-title: var(--imun-title);
}

.t-energ {
  --accent: var(--energ);
  --accent-bg: var(--energ-bg);
  --accent-card: var(--energ-card);
  --accent-ink: var(--energ-ink);
  --accent-title: var(--energ);
}

.t-sklep {
  --accent: var(--sklep);
  --accent-bg: var(--sklep-bg);
  --accent-card: var(--sklep-card);
  --accent-ink: var(--sklep-ink);
  --accent-title: var(--sklep);
}

.t-preb {
  --accent: var(--preb);
  --accent-bg: var(--preb-bg);
  --accent-card: var(--preb-card);
  --accent-ink: var(--preb-ink);
  --accent-title: var(--preb);
}

.t-koza .btn--buy {
  --accent-ink: var(--koza-btn);
}

/* Problem / product sections ------------------------------------------- */
.stack {
  position: relative;
  z-index: 1;
}

.problem {
  position: relative;
  background: var(--cream-light);
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  box-shadow: var(--shadow-section);
  padding: clamp(70px, 10.1vw, 194px) 0 clamp(80px, 9.6vw, 185px);
}

.problem+.problem {
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-section), 0 -6px 18px rgba(0, 0, 0, 0.14);
}

.stack+.story {
  margin-top: calc(-1 * var(--radius-section));
  padding-top: calc(clamp(70px, 10.1vw, 194px) + var(--radius-section));
}

.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 742fr) minmax(0, 760fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 0;
}

.problem__title {
  grid-column: 1 / -1;
  grid-row: 1;
}

.problem__photo {
  grid-column: 1;
  grid-row: 3;
  margin-top: clamp(40px, 3.7vw, 70px);
  aspect-ratio: 742 / 583;
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.problem__card {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: start;
  position: relative;
  z-index: 1;
  margin-left: -24px;
  margin-top: -16px;
  display: grid;
  grid-template-columns: 290fr 470fr;
  background: var(--accent-bg);
  color: var(--accent-ink);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: clamp(44px, 3.9vw, 75px) clamp(28px, 3.1vw, 60px) clamp(44px, 3.4vw, 64px) 0;
}

.problem__badge {
  position: absolute;
  top: clamp(-56px, -2.9vw, -36px);
  right: clamp(30px, 3.9vw, 75px);
  width: clamp(80px, 6.5vw, 125px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: grid;
  place-items: center;
}

.problem__badge svg {
  width: 46%;
  height: 46%;
}

.problem__pack {
  width: 113%;
  max-width: none;
  margin: -6px 0 0 -4.5%;
  align-self: start;
  filter: var(--shadow-pack);
}

.problem__brand {
  font-weight: 500;
  font-size: clamp(20px, 1.56vw, 30px);
}

.problem__name {
  margin-top: 0.15em;
  font-family: var(--font-cond-black);
  font-weight: 900;
  font-size: clamp(36px, 2.86vw, 55px);
  line-height: 0.98;
  color: var(--accent-title);
}

.problem__size {
  margin-top: 0.1em;
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: clamp(28px, 2.08vw, 40px);
}

.problem__text {
  margin-top: 0.8em;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.25;
}

.problem__text+.problem__text {
  margin-top: 1.25em;
}

.problem__card .btn--buy {
  margin-top: clamp(24px, 1.8vw, 34px);
}

.problem__card .btn--buy svg {
  width: 14px;
  height: 14px;
}

/* Stacking cards on scroll: each section sticks, the next one slides over it */
.problem::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--footer);
  opacity: var(--dim, 0);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .stack .problem {
    position: sticky;
    top: var(--stick, 0px);
    transform: scale(var(--scale, 1));
    transform-origin: 50% 0;
    will-change: transform;
  }
}

/* Story ----------------------------------------------------------------- */
.story {
  position: relative;
  z-index: 0;
  background: var(--green-dark);
  color: var(--cream-faq);
  padding-bottom: clamp(70px, 6.2vw, 118px);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 566fr) minmax(0, 794fr);
  gap: clamp(40px, 4vw, 80px);
  align-items: center;
  max-width: 1360px;
  margin-inline: auto;
}

.story .eyebrow {
  color: #7f9781;
}

.story__title {
  margin-top: 0.55em;
  color: var(--cream-faq);
  max-width: 8.4em;
  font-family: var(--font-cond);
}

.story__text {
  margin-top: 1em;
  max-width: 450px;
  font-size: clamp(17px, 1.3vw, 25px);
  line-height: 1.2;
  color: #b8b0a0;
}

.story__collage {
  position: relative;
  aspect-ratio: 794 / 749;
}

.story__collage img {
  position: absolute;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.49);
}

.story__img--kitty {
  left: 56.7%;
  top: 35.5%;
  width: 43.3%;
  object-position: 62% 50%;
}

.story__img--play {
  left: 0;
  top: 54.1%;
  width: 43.2%;
  object-position: 40% 50%;
}

.story__img--girl {
  left: 12.3%;
  top: 0;
  width: 53.9%;
  object-position: 52% 50%;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.45);
}

/* Why ------------------------------------------------------------------- */
.why {
  background: var(--cream);
  padding: clamp(70px, 7.4vw, 142px) 0;
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 708fr) minmax(0, 600fr);
  gap: clamp(40px, 4.1vw, 78px);
  align-items: center;
  max-width: 1360px;
  margin-inline: auto;
}

.why__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.why-card {
  background: var(--white);
  border: 1px solid #d9d2c3;
  border-radius: 20px;
  padding: 21px 26px 24px 24px;
  min-height: 194px;
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-icon);
  color: var(--cream);
  display: grid;
  place-items: center;
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
}

.why-card__title {
  margin-top: 13px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.why-card__text {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.15;
  color: var(--muted);
}

.why__title {
  margin-top: 0.5em;
  line-height: 0.93;
  font-family: var(--font-cond);
  color: var(--green-ink);
  font-weight: 700;
}

.why .eyebrow {
  font-weight: 400;
  letter-spacing: 0.1em;
}

.why__text {
  margin-top: 1em;
  max-width: 420px;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.32;
  color: var(--green-ink);
}

/* FAQ ------------------------------------------------------------------- */
.faq {
  position: relative;
  background: var(--cream-faq);
  padding: clamp(70px, 6.4vw, 122px) 0 clamp(70px, 6.2vw, 118px);
  overflow: hidden;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 566fr) minmax(0, 821fr);
  gap: clamp(30px, 3.4vw, 64px);
  max-width: 1387px;
  margin-inline: auto;
}

.faq .eyebrow {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.faq__title {
  margin-top: 0.3em;
  line-height: 0.93;
  font-family: var(--font-cond);
  color: var(--green-ink);
  font-weight: 700;
  max-width: 5em;
}

.faq__heroes {
  width: min(810px, 44vw);
  max-width: none;
  margin: clamp(30px, 2.6vw, 50px) 0 0 calc(-1 * max(var(--gutter), (100vw - 1387px) / 2));
}

.faq__intro {
  margin: 0.2em 0 1.4em 8px;
  font-weight: 700;
  font-size: clamp(19px, 1.3vw, 25px);
  line-height: 1.32;
  color: var(--green-ink);
}

.faq__list {
  border-top: 3px solid #d2ccc0;
}

.faq-item {
  border-bottom: 3px solid #d2ccc0;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 34px 0 0 8px;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 700;
  font-size: clamp(18px, 1.15vw, 22px);
  color: var(--ink);
}

.faq-item:not(.is-open) .faq-item__q {
  padding-bottom: 34px;
}

.faq-item__toggle {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-icon);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

.faq-item__toggle svg {
  width: 12px;
  height: 12px;
}

.faq-item:not(.is-open) .faq-item__toggle {
  transform: rotate(45deg);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item:not(.is-open) .faq-item__a {
  grid-template-rows: 0fr;
}

.faq-item__a>div {
  overflow: hidden;
}

.faq-item__a p {
  padding: 8px 60px 32px 8px;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.25;
  color: var(--muted);
}

.faq-item__a strong {
  color: var(--ink);
}

/* CTA ------------------------------------------------------------------- */
.cta {
  position: relative;
  min-height: clamp(460px, 35.7vw, 685px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  padding: 80px var(--gutter);
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: -2;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 34, 0.42);
  z-index: -1;
}

.cta__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(42px, 4.17vw, 80px);
  line-height: 1;
  max-width: 8.5em;
  margin-inline: auto;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
}

.cta__text {
  margin-top: 0.3em;
  font-size: clamp(22px, 1.82vw, 35px);
  line-height: 1.14;
}

.cta .btn--cta {
  margin-top: clamp(28px, 2.4vw, 46px);
}

/* Footer ---------------------------------------------------------------- */
.footer {
  background: var(--footer);
  color: #c7c9c3;
  font-size: 16px;
  padding: 54px 0 40px;
}

.footer__inner {
  width: min(100% - 2 * var(--gutter), 1300px);
  margin-inline: auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 0 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__logo {
  display: block;
  width: 114px;
  color: var(--cream);
}

.footer__logo svg {
  width: 100%;
  height: auto;
}

.footer__company {
  margin-top: 22px;
  color: #fff;
  font-weight: 700;
}

.footer__address {
  margin-top: 6px;
  line-height: 1.75;
  color: #b9bdb6;
  font-style: normal;
}

.footer__address a:hover,
.footer__col a:hover {
  color: #fff;
}

.footer__tagline {
  margin-top: 24px;
  color: var(--footer-accent);
  font-weight: 700;
  font-style: italic;
}

.footer__cols {
  display: flex;
  gap: clamp(40px, 4.6vw, 62px);
  padding-right: 26px;
}

.footer__col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6f7a70;
}

.footer__col ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: #e6e7e2;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 26px 0 0;
  font-size: 13px;
  color: #808a81;
}

/* Reveal on scroll ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1280px) {
  .products__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 64px;
    max-width: 1000px;
  }

  .products__grid .p-item {
    width: calc((100% - 40px) / 3);
  }

  .problem__card {
    grid-template-columns: 34% 66%;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: 0;
    background: var(--green-dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .nav__links a {
    font-size: 28px;
  }

  .nav .btn--yellow {
    margin-left: 0;
  }

  .site-header__inner {
    align-items: flex-start;
  }

  .nav-open {
    overflow: hidden;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__title {
    width: auto;
    max-width: 14em;
  }

  .hero__visual {
    width: 100%;
    max-width: 760px;
    margin: 40px auto 0;
    justify-self: center;
  }

  .problem__grid {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .problem__title {
    max-width: 16em;
  }

  .problem__photo {
    grid-row: 2;
    margin-top: 32px;
  }

  .problem__card {
    grid-column: 1;
    grid-row: 3;
    margin: -60px 16px 0;
  }

  .problem__title br,
  .story__title br {
    display: none;
  }

  .story__grid,
  .why__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .story__collage {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }

  .why__grid>.why__copy {
    order: -1;
  }

  .faq__heroes {
    width: min(560px, 90%);
    margin: 30px auto 0;
  }

  .faq__aside {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .site-header__inner {
    align-items: flex-start;
  }

  .hero__inner {
    padding-top: 130px;
  }

  .checklist {
    font-size: 16px;
    grid-template-columns: 1fr;
  }

  .btn--maroon,
  .btn--outline {
    height: 56px;
    font-size: 18px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .products__grid {
    display: grid;
    justify-content: start;
    max-width: none;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72%, 300px);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    padding: 6px var(--gutter) 66px;
    scrollbar-width: none;
  }

  .products__grid::-webkit-scrollbar {
    display: none;
  }

  .products__grid .p-item {
    width: auto;
    scroll-snap-align: start;
  }

  .p-item:hover .p-card {
    transform: none;
  }

  .p-card__tag {
    font-size: 13px;
    top: 12px;
  }

  .p-card__body {
    padding: 20px 16px 22px;
  }

  .problem__card {
    grid-template-columns: 1fr;
    margin: -48px 8px 0;
    padding: 40px 24px 36px;
  }

  .problem__pack {
    width: 62%;
    margin: -10px auto 4px;
  }

  .problem__badge {
    right: 22px;
  }

  .btn--buy {
    height: 60px;
    font-size: 21px;
  }

  .why__cards {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 0;
  }

  .faq-item__a p {
    padding-right: 8px;
  }

  .footer__cols {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .features__item {
    font-size: 16px;
  }
}
/* Accessibility ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--yellow); color: var(--maroon); font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.problem :focus-visible, .products :focus-visible, .faq :focus-visible, .why :focus-visible { outline-color: var(--green-icon); }
