:root {
  --black: #000;
  --white: #fff;
  --yellow: #eec215;
  --lime: #b9ce19;
  --text: #090909;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Urbanist", Arial, Helvetica, sans-serif;
  font-size: 18px;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.section-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: min(412px, 100%);
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 28px;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.button--center {
  display: flex;
  margin: 48px auto 0;
}

.hero {
  position: relative;
  min-height: 847px;
  overflow: hidden;
  background: var(--black);
}

.hero__inner {
  position: relative;
  z-index: 4;
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 24px;
}

.hero__topbar {
  display: flex;
  justify-content: flex-end;
  min-height: 70px;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__nav a:not(.nav-cta) {
  position: relative;
  padding: 12px 0;
}

.hero__nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  opacity: 0;
  transform: scaleX(0.75);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero__nav a:hover::after,
.hero__nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  min-width: 173px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 24px;
  font-weight: 800;
  padding: 12px 24px;
}

.hero__copy {
  width: min(100%, 621px);
  padding-top: 32px;
}

.hero__logo {
  aspect-ratio: 523 / 165.035;
  height: auto;
  object-fit: contain;
  width: min(523px, 100%);
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 27px;
  color: var(--yellow);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.18;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(42px, 3.85vw, 56px);
  font-weight: 400;
  line-height: 1.2;
}

.hero h1 strong {
  display: block;
  font-weight: 700;
}

.hero__lead {
  width: min(540px, 100%);
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.625;
}

.hero__dog {
  position: absolute;
  z-index: 3;
  top: 183px;
  right: 27px;
  width: min(55vw, 809px);
  pointer-events: none;
}

.hero__ribbon {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 163px;
  background: var(--yellow);
  color: var(--text);
}

.hero__ribbon p {
  width: min(540px, calc(100% - 48px));
  margin: 0 auto 0 max(24px, calc((100vw - var(--shell)) / 2));
  padding-top: 31px;
  font-size: 18px;
  line-height: 1.625;
}

.phases {
  position: relative;
  min-height: 662px;
  overflow: hidden;
  background: var(--black);
  padding-top: 32px;
}

.phases::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 662px;
  background: url("assets/background-dog.png") center bottom / cover no-repeat;
  content: "";
}
@media (min-width: 1900px) {
  .phases {
    min-height: 830px;
  }
}
@media (min-width: 1900px) {
  .phases::before {
    height: 826px;
  }
}
.phases__content {
  position: relative;
  z-index: 1;
}

.phases .button--center {
  margin-top: 0;
}

.benefits {
  background: var(--black);
  color: var(--white);
  padding: 0 0 82px;
}

.benefits h2 {
  margin: 0;
  font-size: clamp(38px, 3.85vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.benefit-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.benefit-column {
  display: grid;
  gap: 6px;
}

.benefit-cell {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  padding: 10px 18px;
  text-align: center;
}

.benefit-cell--head {
  background: var(--white);
  font-weight: 700;
  text-transform: uppercase;
}

.product {
  background: var(--white);
  color: var(--text);
  padding: 70px 0 0;
}

.composition {
  max-width: 1060px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.57;
  text-align: center;
}

.composition strong {
  font-weight: 700;
}

.product__buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 48px;
  padding-bottom: 36px;
}

.product__image {
  width: min(628px, 100%);
}

.product__panel {
  align-self: center;
  padding-left: 10px;
}

.product__panel h2 {
  margin: 0;
  font-size: clamp(46px, 3.85vw, 56px);
  font-weight: 700;
  line-height: 1;
}

.product__panel p {
  margin: 7px 0 18px;
  font-size: 32px;
  line-height: 1;
}

.quantity {
  display: inline-grid;
  width: 196px;
  height: 48px;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: var(--white);
}

.quantity__button {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity__button img {
  width: 24px;
  height: 24px;
}

.quantity output {
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.product__cart {
  display: flex;
  margin-top: 24px;
}

.usage {
  background: var(--yellow);
  color: var(--text);
  padding: 36px 24px 30px;
  text-align: center;
}

.usage p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.57;
}

.closing {
  background: var(--black);
  color: var(--white);
  padding: 28px 0 0;
  text-align: center;
}

.warning {
  margin: 0;
  color: var(--yellow);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.closing h2 {
  width: min(1060px, calc(100% - 48px));
  margin: 26px auto 0;
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.footer {
  display: flex;
  width: min(var(--shell), calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 48px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding: 25px 0 56px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.back-to-top {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.back-to-top img {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

@media (max-width: 1180px) {
  .hero__nav {
    gap: 28px;
  }

  .hero__dog {
    right: -80px;
    width: min(62vw, 760px);
  }
}

@media (max-width: 920px) {
  .section-shell,
  .hero__inner {
    width: min(100% - 40px, var(--shell));
  }

  .button {
    font-size: 20px;
  }

  .hero {
    min-height: 0;
  }

  .hero__topbar {
    justify-content: center;
  }

  .hero__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
    width: 100%;
    max-width: 560px;
    font-size: 14px;
  }

  .nav-cta {
    min-height: 42px;
    min-width: 138px;
    font-size: 18px;
  }

  .hero__copy {
    width: 100%;
    padding-top: 38px;
    text-align: center;
  }

  .hero__logo {
    width: min(390px, 100%);
    margin: 0 auto 24px;
  }

  .hero__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__dog {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 640px);
    margin: 26px auto -10px;
  }

  .hero__ribbon {
    position: relative;
    min-height: 0;
  }

  .hero__ribbon p {
    width: min(100% - 40px, 640px);
    max-width: none;
    margin: 0 auto;
    padding: 26px 0;
    text-align: center;
  }

  .phases {
    min-height: 520px;
    padding-top: 28px;
    padding-bottom: 0;
  }

  .phases::before {
    top: 0;
    bottom: auto;
    height: 100%;
    background-position: center bottom;
  }

  .benefits {
    padding-top: 50px;
  }

  .benefit-table {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product {
    padding-top: 46px;
  }

  .product__buy {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .product__image {
    width: min(560px, 100%);
  }

  .product__panel {
    padding-left: 0;
  }

  .product__cart {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .section-shell,
  .hero__inner {
    width: min(100% - 28px, var(--shell));
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero__lead,
  .hero__ribbon p {
    font-size: 16px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .benefits h2 {
    font-size: 34px;
  }

  .benefit-cell {
    min-height: 52px;
    font-size: 16px;
    padding-inline: 12px;
  }

  .product__panel h2 {
    font-size: 44px;
  }

  .product__panel p,
  .quantity output {
    font-size: 28px;
  }

  .usage {
    padding-inline: 14px;
  }

  .footer {
    width: min(100% - 28px, var(--shell));
    flex-direction: column-reverse;
    padding-bottom: 38px;
  }

  .footer p {
    text-align: center;
  }
}
