:root {
  color-scheme: light;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  --campaign-green: #3c833f;
  --header-green: #4b8c3a;
  --highlight-green: #279c00;
  --lime: #83ff96;
  --page-green: #cce194;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  margin: -1px;
  white-space: nowrap;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #eef4df;
  color: #000;
}

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

.phone-shell {
  position: relative;
  width: min(100%, 402px);
  min-height: 874px;
  margin: 0 auto;
  overflow: visible;
  background: var(--page-green);
  box-shadow: 0 0 30px rgb(43 76 32 / 10%);
}

.top-bar {
  display: flex;
  position: sticky;
  z-index: 10;
  top: 0;
  align-items: center;
  justify-content: center;
  height: 63px;
  border-bottom: 1px solid #000;
  background: var(--header-green);
}

.top-bar p {
  margin: 0;
  color: #fff;
  font-family:
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    sans-serif;
  font-size: clamp(20px, 5.97vw, 24px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.promo-strip {
  position: relative;
  z-index: 2;
  height: 54px;
  background: var(--page-green);
}

.promo-strip__burst,
.promo-strip__bubble {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.promo-strip__burst {
  top: 15px;
  left: -1px;
  width: 132px;
  height: 71px;
  transform: rotate(-18.7deg);
}

.promo-strip__bubble {
  z-index: 2;
  top: 31px;
  right: 13px;
  width: 97px;
  height: 52px;
}

.content {
  position: relative;
  z-index: 1;
  height: 569px;
  overflow: hidden;
  background: #fdfbfc;
}

.campaign-title {
  position: absolute;
  top: 35px;
  left: calc(50% - 118px);
  width: 231px;
  height: 27px;
  margin: 0;
  overflow: hidden;
}

.campaign-title__capture {
  position: absolute;
  top: -103.982px;
  left: -87.919px;
  width: 865.669px;
  height: 280.666px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.refund-card {
  position: absolute;
  top: 79px;
  right: 29px;
  left: 28px;
  height: 99px;
  padding: 21px 12px 0;
  border: 0.5px solid #000;
  border-radius: 6px;
  background: rgb(222 222 222 / 18%);
  text-align: center;
}

.refund-card h2,
.refund-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.39;
}

.refund-card h2 {
  font-weight: 600;
}

.refund-card p {
  font-weight: 600;
}

.refund-card strong {
  color: var(--highlight-green);
  font-weight: 600;
}

.refund-card .refund-card__steps {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 200;
  letter-spacing: -0.045em;
}

.campaign-copy {
  position: absolute;
  top: 192px;
  left: calc(50% - 170px);
  width: 350px;
  height: 16px;
  margin: 0;
  overflow: hidden;
}

.campaign-copy img {
  position: absolute;
  top: -74.387px;
  left: -48.542px;
  width: 444.803px;
  height: 144.213px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.store-cta {
  display: flex;
  position: absolute;
  top: 220px;
  left: calc(50% - 82px);
  align-items: center;
  justify-content: center;
  width: 169px;
  height: 34px;
  border-radius: 4px;
  background: var(--lime);
  box-shadow: 0 3px 4px rgb(0 0 0 / 24%);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-cta span {
  margin-left: 4px;
  font-size: 18px;
  line-height: 1;
}

.store-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgb(0 0 0 / 28%);
}

.store-cta:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 22%);
}

.store-cta:focus-visible,
.sticker:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.section-heading {
  display: flex;
  position: absolute;
  top: 266px;
  right: 7px;
  left: 7px;
  align-items: center;
  gap: 8px;
  height: 28px;
  color: var(--campaign-green);
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.section-heading::before,
.section-heading::after {
  height: 1px;
  background: var(--campaign-green);
  content: "";
}

.section-heading::before {
  flex: 0 0 32px;
}

.section-heading::after {
  flex: 1;
}

.section-heading span {
  flex: 0 0 50px;
}

.sticker-grid {
  display: grid;
  position: absolute;
  top: 304px;
  right: 13px;
  left: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 19px;
}

.sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--campaign-green);
  border-radius: 16px;
  background:
    url("./assets/tile-bg.png") center / cover no-repeat,
    #fff;
  cursor: pointer;
  transition:
    transform 140ms ease,
    filter 140ms ease;
}

.sticker:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.sticker:active,
.sticker.is-copying {
  transform: scale(0.97);
}

.sticker img {
  display: block;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.sticker__wordmark {
  width: 95.5%;
  height: 45%;
}

.sticker__crate {
  width: 88%;
  height: 88%;
}

.sticker__slogan {
  width: 96%;
  height: 52%;
}

.sticker__card {
  width: 89.5%;
  height: 39%;
}

.sticker__bottle {
  width: 33%;
  height: 90%;
}

.sticker__speech {
  width: 86%;
  height: 46%;
}

.brand-footer {
  position: relative;
  height: 188px;
  background: var(--page-green);
}

.award-lockup {
  display: flex;
  position: absolute;
  top: 8px;
  left: 178px;
  align-items: center;
  gap: 7px;
  height: 17px;
  white-space: nowrap;
}

.award-lockup img {
  width: 60px;
  height: 17px;
  object-fit: contain;
}

.award-lockup strong {
  font-family:
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.brand-footer__logos {
  position: absolute;
  inset: 0;
}

.brand-footer__brand,
.brand-footer__campaign {
  position: absolute;
  object-fit: contain;
}

.brand-footer__brand {
  top: 56px;
  left: 36px;
  width: 148px;
  height: 70px;
}

.brand-footer__divider {
  position: absolute;
  top: 71px;
  left: 207px;
  width: 1px;
  height: 43px;
  background: rgb(0 0 0 / 30%);
}

.brand-footer__campaign {
  top: 63px;
  left: 230px;
  width: 130px;
  height: 60px;
}

.toast {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  max-width: calc(100% - 40px);
  margin: 0;
  padding: 9px 14px;
  transform: translate(-50%, 12px);
  border-radius: 999px;
  background: rgb(20 20 20 / 90%);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 360px) {
  .refund-card {
    right: 18px;
    left: 18px;
  }

  .refund-card h2,
  .refund-card p {
    font-size: 11px;
  }

  .refund-card .refund-card__steps {
    font-size: 9px;
  }

  .sticker-grid {
    right: 12px;
    left: 12px;
    column-gap: 12px;
  }

  .award-lockup {
    right: 8px;
    left: auto;
  }

  .brand-footer__brand {
    left: 9%;
    width: 36.8%;
    height: auto;
  }

  .brand-footer__divider {
    left: 51.5%;
  }

  .brand-footer__campaign {
    right: 9%;
    left: auto;
    width: 32.3%;
    height: auto;
  }
}

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