@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/urbanist-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/urbanist-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/urbanist-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Urbanist", sans-serif;
  color: #020202;
  background: #fafafa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fafafa;
  scrollbar-color: #6a7282 #eceef0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #fafafa;
}

::selection {
  color: #020202;
  background: #00ed76;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid #00a954;
  outline-offset: 4px;
}

.offer-shell,
.missing {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 0 28px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00ed76;
}

.brand-mark::after {
  position: absolute;
  right: -3px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border: 3px solid #fafafa;
  border-radius: 50%;
  background: #f35242;
  content: "";
}

.offer-stage {
  display: grid;
  min-height: 620px;
  margin-top: 38px;
  overflow: hidden;
  border-radius: 16px;
  background: #f8d7d3;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  animation: stage-in 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.offer-copy {
  display: flex;
  padding: clamp(34px, 5vw, 68px);
  flex-direction: column;
  justify-content: center;
}

.state {
  width: fit-content;
  margin: 0 0 20px;
  padding: 7px 11px;
  border-radius: 20px;
  color: #020202;
  background: #eaff98;
  font-size: 13px;
  font-weight: 700;
}

.state-expired {
  color: #fafafa;
  background: #6a7282;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.retailer {
  margin: 16px 0 0;
  color: #6a7282;
  font-size: 17px;
  font-weight: 600;
}

.price-line {
  display: flex;
  margin-top: 34px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-variant-numeric: tabular-nums;
}

.price-line strong {
  font-family: "Outfit", "Urbanist", sans-serif;
  font-size: clamp(29px, 4.8vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.price-line s {
  color: #6a7282;
  font-size: 17px;
}

.price-line span {
  padding: 6px 10px;
  border-radius: 20px;
  color: #020202;
  background: #f35242;
  font-size: 14px;
  font-weight: 700;
}

.saving,
.stores,
.redirect-status {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.saving {
  font-weight: 700;
}

.stores,
.redirect-status {
  color: #6a7282;
}

.actions {
  display: flex;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #020202;
  background: #f35242;
}

.button-primary:hover {
  background: #ed4636;
}

.button-secondary {
  color: #ffffff;
  background: #020202;
}

.button-secondary:hover {
  background: #282828;
}

.store-pending {
  max-width: 34ch;
  color: #6a7282;
  font-size: 14px;
  line-height: 1.45;
}

.product-visual {
  display: flex;
  min-height: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 56px);
  align-items: center;
  justify-content: center;
  background: #eaff98;
}

.product-visual img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 24px 25px rgb(2 2 2 / 14%));
}

.trust {
  max-width: 70ch;
  margin: 18px 0 0;
  color: #6a7282;
  font-size: 13px;
  line-height: 1.5;
}

.missing {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.missing h1 {
  max-width: 13ch;
  margin-top: 46px;
}

.missing p {
  max-width: 56ch;
  margin: 22px 0 28px;
  color: #6a7282;
  font-size: 17px;
  line-height: 1.55;
}

@keyframes stage-in {
  from {
    opacity: 0.7;
    transform: translateY(12px);
    clip-path: inset(0 0 8% 0 round 16px);
  }
}

@media (max-width: 760px) {
  .offer-shell,
  .missing {
    width: min(100% - 28px, 560px);
    padding-top: 20px;
  }

  .offer-stage {
    min-height: 0;
    margin-top: 20px;
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 300px;
    padding: 24px;
    grid-row: 1;
  }

  .product-visual img {
    max-height: 300px;
  }

  .offer-copy {
    padding: 28px 22px 32px;
  }

  h1 {
    font-size: clamp(31px, 12vw, 46px);
  }

  .price-line {
    margin-top: 26px;
  }

  .actions,
  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
