/* Birthday gift-box experience page */

.gift-page {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 92% 4%, rgb(219 166 180 / 21%), transparent 27rem),
    radial-gradient(circle at 5% 38%, rgb(223 190 128 / 16%), transparent 25rem),
    var(--color-paper-0);
}

.gift-hero,
.gift-page__body {
  width: min(100% - 2rem, var(--container-marketing));
  margin-inline: auto;
}

.gift-hero {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-block: clamp(3.25rem, 9vw, 7.5rem) clamp(4.5rem, 9vw, 8rem);
}

.gift-hero__copy {
  min-width: 0;
}

.gift-hero__overline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 var(--space-4);
  padding: 0.4rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 18%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-accent-soft) 54%, white);
  color: var(--color-accent-strong);
  font-size: var(--text-xs);
  font-weight: 800;
}

.gift-hero__overline span {
  color: var(--color-brass-600);
  font-size: 1.05rem;
  line-height: 0;
}

.gift-hero h1 {
  max-width: 11ch;
  margin-block-end: var(--space-5);
  font-size: clamp(3rem, 2.25rem + 3.25vw, 5.25rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.gift-hero__lede {
  max-width: 36rem;
  margin-block-end: var(--space-7);
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 0.98rem + 0.42vw, 1.3rem);
  line-height: 1.58;
}

.gift-hero__actions .button-link,
.gift-final .button-link {
  gap: 0.65rem;
}

.gift-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: var(--space-6) 0 0;
  padding: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  list-style: none;
}

.gift-hero__proof li {
  position: relative;
  padding-inline-start: 1.1rem;
}

.gift-hero__proof li::before {
  position: absolute;
  inset-block-start: 0.53em;
  inset-inline-start: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-success);
  content: "";
}

.gift-hero__visual {
  position: relative;
  min-height: clamp(27rem, 68vw, 38rem);
  margin: 0;
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  isolation: isolate;
}

.gift-hero__glow {
  position: absolute;
  z-index: 0;
  inset: 8% -3% 5% 3%;
  border-radius: 46% 54% 45% 55% / 58% 44% 56% 42%;
  background:
    radial-gradient(circle at 70% 20%, rgb(231 185 196 / 67%), transparent 33%),
    linear-gradient(135deg, var(--color-accent-soft), rgb(246 230 204));
  transform: rotate(-5deg);
}

.gift-hero__image {
  position: absolute;
  z-index: 1;
  inset: 9% 4% 12% 8%;
  width: 88%;
  height: 79%;
  border: 0.35rem solid rgb(255 255 255 / 86%);
  border-radius: clamp(1.15rem, 2.5vw, 2rem);
  box-shadow: 0 2rem 4rem rgb(53 29 36 / 23%);
  object-fit: cover;
  transform: rotate(3deg);
}

.gift-hero__label {
  position: absolute;
  z-index: 2;
  inset: auto auto 4% 0;
  display: grid;
  width: min(76%, 16rem);
  gap: 0.22rem;
  padding: var(--space-5);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: var(--radius-lg);
  background: rgb(255 253 249 / 92%);
  box-shadow: 0 1.1rem 2.5rem rgb(53 29 36 / 16%);
  color: var(--color-text);
  backdrop-filter: blur(14px);
  transform: rotate(-4deg);
}

.gift-hero__label span,
.gift-hero__label small {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.gift-hero__label strong {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.85vw, 1.8rem);
  font-weight: 620;
  line-height: 1.05;
}

.gift-hero__label small {
  margin-block-start: var(--space-2);
  color: var(--color-accent-strong);
  font-weight: 780;
}

.gift-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  inset: 2% 0 auto auto;
  display: grid;
  width: min(82%, 18rem);
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 93%);
  box-shadow: var(--shadow-2);
  color: var(--color-text);
}

.gift-hero__visual figcaption > span {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.gift-hero__visual figcaption div {
  display: grid;
  gap: 0.15rem;
}

.gift-hero__visual figcaption strong {
  font-size: var(--text-sm);
  line-height: 1.3;
}

.gift-hero__visual figcaption small {
  color: var(--color-text-muted);
  font-size: 0.69rem;
  line-height: 1.4;
}

.gift-page__body {
  display: grid;
  gap: clamp(4.75rem, 10vw, 8.5rem);
  padding-block-end: clamp(5rem, 10vw, 9rem);
}

.gift-intro {
  display: grid;
  gap: var(--space-7);
}

.gift-intro > div:first-child h2,
.gift-process h2,
.gift-use h2,
.gift-faq h2 {
  max-width: 17ch;
}

.gift-intro > p {
  max-width: 43rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 0.98rem + 0.32vw, 1.22rem);
  line-height: 1.6;
}

.gift-intro__facts {
  display: grid;
  gap: var(--space-4);
}

.gift-intro__facts article {
  min-height: 14rem;
  padding: var(--space-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
}

.gift-intro__facts article:nth-child(2) {
  background: var(--color-accent-soft);
}

.gift-intro__facts article:nth-child(3) {
  background: var(--color-surface-inverse);
  color: var(--color-text-inverse);
}

.gift-intro__facts span {
  display: block;
  margin-block-end: var(--space-10);
  color: var(--color-brass-600);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.gift-intro__facts article:nth-child(3) span {
  color: var(--color-brass-300);
}

.gift-intro__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.55rem);
  font-weight: 620;
  line-height: 1.18;
}

.gift-intro__facts p {
  margin: var(--space-3) 0 0;
  color: inherit;
  font-size: var(--text-sm);
  line-height: 1.55;
  opacity: 0.75;
}

.gift-process {
  display: grid;
  gap: var(--space-8);
}

.gift-process__heading > p:last-child {
  max-width: 37rem;
  color: var(--color-text-muted);
}

.gift-process__steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-block-start: 1px solid var(--color-border);
  list-style: none;
}

.gift-process__steps li {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-7);
  border-block-end: 1px solid var(--color-border);
}

.gift-process__steps > li > span {
  color: var(--color-accent-strong);
  font-size: var(--text-sm);
  font-weight: 800;
}

.gift-process__steps h3 {
  margin-block-end: var(--space-2);
  font-size: clamp(1.35rem, 1.12rem + 0.6vw, 1.85rem);
}

.gift-process__steps p {
  max-width: 44rem;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.58;
}

.gift-recipient {
  display: grid;
  align-items: center;
  gap: clamp(2.75rem, 7vw, 6rem);
  padding: clamp(1.6rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 10%, rgb(190 55 95 / 38%), transparent 25rem),
    linear-gradient(145deg, #27101c, #160b13);
  color: var(--color-text-inverse);
  overflow: hidden;
}

.gift-recipient .eyebrow {
  color: var(--color-brass-300);
}

.gift-recipient h2 {
  max-width: 13ch;
}

.gift-recipient__copy > p:not(.eyebrow) {
  max-width: 34rem;
  color: rgb(255 255 255 / 72%);
  line-height: 1.6;
}

.gift-recipient__list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  padding: 0;
  list-style: none;
}

.gift-recipient__list li {
  position: relative;
  padding-inline-start: 1.5rem;
  color: rgb(255 255 255 / 82%);
  font-size: var(--text-sm);
}

.gift-recipient__list li::before {
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-brass-300);
  content: "✓";
  font-weight: 900;
}

.gift-recipient__phone {
  position: relative;
  width: min(100%, 22rem);
  min-height: 30rem;
  justify-self: center;
  padding: 0.5rem;
  border: 0.45rem solid #080608;
  border-radius: 2.45rem;
  background: #080608;
  box-shadow: 0 2rem 4rem rgb(0 0 0 / 38%);
}

.gift-recipient__phone::before {
  position: absolute;
  z-index: 2;
  width: 35%;
  height: 0.45rem;
  inset: 0.75rem auto auto 50%;
  border-radius: var(--radius-pill);
  background: #080608;
  content: "";
  transform: translateX(-50%);
}

.gift-recipient__phone-bar {
  display: flex;
  height: 2.4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-radius: 2rem 2rem 0 0;
  background: #fbf4ef;
  color: #756a70;
  font-size: 0.58rem;
  font-weight: 740;
}

.gift-recipient__phone-bar i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #d6607f;
}

.gift-recipient__phone-content {
  display: grid;
  min-height: 25.6rem;
  align-content: center;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: 0 0 1.85rem 1.85rem;
  background:
    radial-gradient(circle at 50% 15%, rgb(255 255 255 / 87%), transparent 22%),
    linear-gradient(155deg, #f6dfe5, #fdf9ef 57%, #efcfd9);
  color: #35202a;
  text-align: center;
}

.gift-recipient__trust {
  margin-block-end: var(--space-3);
  padding: 0.28rem 0.55rem;
  border: 1px solid rgb(92 46 61 / 14%);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 58%);
  color: #88415b;
  font-size: 0.57rem;
  font-weight: 800;
}

.gift-recipient__phone-content > p {
  margin: 0;
  color: #7f6770;
  font-size: 0.68rem;
}

.gift-recipient__phone-content > strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.7rem);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gift-recipient__box {
  position: relative;
  width: 8.4rem;
  height: 6.6rem;
  margin-block: var(--space-3);
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #a92852, #6b1539);
  box-shadow: 0 0.9rem 1.5rem rgb(83 27 52 / 28%);
}

.gift-recipient__box::before {
  position: absolute;
  height: 1.55rem;
  inset: -0.7rem -0.45rem auto;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #c04369, #891e49);
  content: "";
}

.gift-recipient__box i {
  position: absolute;
  width: 1.25rem;
  height: calc(100% + 0.7rem);
  inset: -0.7rem auto auto 50%;
  background: #e9bd71;
  transform: translateX(-50%);
}

.gift-recipient__box b {
  position: absolute;
  z-index: 1;
  width: 1.4rem;
  height: 1.4rem;
  inset: -1.35rem auto auto 50%;
  border: 0.25rem solid #e9bd71;
  border-radius: 50% 50% 45% 45%;
  transform: translateX(-50%) rotate(45deg);
}

.gift-recipient__box span {
  position: absolute;
  inset: -1.25rem -1.2rem auto auto;
  color: #b51d4e;
  font-size: 1.5rem;
}

.gift-recipient__demo-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: #a92550;
  box-shadow: 0 0.5rem 1rem rgb(132 23 61 / 18%);
  color: white;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 780;
}

.gift-recipient__phone-content > small {
  color: #806873;
  font-size: 0.6rem;
}

.gift-use {
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-10);
  border-block: 1px solid var(--color-border);
}

.gift-use > div:first-child > p:last-child {
  max-width: 34rem;
  color: var(--color-text-muted);
  line-height: 1.58;
}

.gift-use__cards {
  display: grid;
  gap: var(--space-3);
}

.gift-use__cards article {
  display: grid;
  min-height: 13.5rem;
  align-content: end;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface-subtle);
}

.gift-use__cards article:nth-child(2) {
  background: var(--color-accent-soft);
}

.gift-use__cards article:nth-child(3) {
  background: #efe5d6;
}

.gift-use__cards span {
  align-self: start;
  width: fit-content;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgb(74 48 56 / 13%);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 56%);
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.gift-use__cards h3 {
  max-width: 13ch;
  margin: auto 0 var(--space-3);
  font-size: 1.35rem;
  line-height: 1.18;
}

.gift-use__cards p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.gift-faq {
  display: grid;
  gap: var(--space-7);
  max-width: var(--container-reading);
}

.gift-faq .faq-list {
  margin: 0;
}

.gift-faq details p {
  max-width: 50rem;
}

.gift-final {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 20%, rgb(232 182 112 / 36%), transparent 25rem),
    linear-gradient(135deg, #4f172d, #230d1c);
  color: var(--color-text-inverse);
}

.gift-final .eyebrow {
  color: var(--color-brass-300);
}

.gift-final h2 {
  max-width: 14ch;
  margin-block-end: var(--space-3);
}

.gift-final p:not(.eyebrow) {
  max-width: 34rem;
  margin-block-end: 0;
  color: rgb(255 255 255 / 76%);
}

.gift-final .action-row {
  align-items: center;
}

@media (min-width: 48rem) {
  .gift-hero,
  .gift-page__body {
    width: min(100% - 3rem, var(--container-marketing));
  }

  .gift-hero {
    grid-template-columns: minmax(0, 0.93fr) minmax(23rem, 1.07fr);
  }

  .gift-intro {
    grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
    align-items: end;
  }

  .gift-intro__facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-process__steps li {
    grid-template-columns: 7rem minmax(0, 1fr);
    padding: var(--space-8) var(--space-4);
  }

  .gift-recipient {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  }

  .gift-use__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-final {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 72rem) {
  .gift-hero__visual {
    min-height: 38rem;
  }

  .gift-recipient {
    padding-inline: clamp(3rem, 7vw, 6.5rem);
  }
}

@media (max-width: 31.99rem) {
  .gift-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.25rem);
  }

  .gift-hero__actions,
  .gift-final .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .gift-hero__actions .button-link,
  .gift-hero__actions .text-link,
  .gift-final .button-link,
  .gift-final .text-link {
    width: 100%;
    justify-content: center;
  }

  .gift-hero__visual {
    min-height: 26rem;
  }

  .gift-hero__label {
    inset-inline-start: -0.25rem;
    padding: var(--space-4);
  }

  .gift-hero__visual figcaption {
    inset-inline-end: -0.25rem;
    width: min(78%, 16rem);
    padding: var(--space-3);
  }

  .gift-intro__facts article {
    min-height: 0;
  }

  .gift-intro__facts span {
    margin-block-end: var(--space-7);
  }

  .gift-recipient {
    margin-inline: -0.05rem;
    padding-inline: var(--space-5);
  }

  .gift-recipient__phone {
    min-height: 28rem;
  }

  .gift-recipient__phone-content {
    min-height: 23.6rem;
  }

  .gift-use__cards article {
    min-height: 11rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .gift-hero__copy,
  .gift-hero__visual {
    animation: gift-page-rise 660ms var(--ease-emphasis) both;
  }

  .gift-hero__visual {
    animation-delay: 100ms;
  }

  .gift-hero__label {
    animation: gift-page-float 4.5s var(--ease-emphasis) infinite alternate;
  }

  @keyframes gift-page-rise {
    from {
      opacity: 0;
      transform: translateY(0.85rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes gift-page-float {
    to {
      transform: translateY(-0.35rem) rotate(-3deg);
    }
  }
}

@media (forced-colors: active) {
  .gift-hero__image,
  .gift-hero__label,
  .gift-hero__visual figcaption,
  .gift-intro__facts article,
  .gift-recipient,
  .gift-use__cards article,
  .gift-final {
    border: 1px solid CanvasText;
  }
}
