.loyalty-product-page {
  background: var(--white);
}

.product-header {
  background: rgb(253 252 249 / 94%);
}

.product-hero {
  display: grid;
  min-height: calc(100dvh - 73px);
  padding: clamp(56px, 7vw, 112px) 0;
  background: var(--ivory);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.product-hero-copy {
  max-width: 670px;
  padding-left: clamp(0px, 2vw, 28px);
}

.product-name {
  margin: 0 0 24px;
  color: var(--terracotta-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.product-hero h1 {
  font-size: clamp(3.25rem, 5.2vw, 5.8rem);
  line-height: 0.98;
}

.product-summary {
  max-width: 590px;
  margin: 30px 0 0;
  color: #52606b;
  font-size: clamp(1.05rem, 1.3vw, 1.24rem);
  line-height: 1.65;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.product-login-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 650;
  text-underline-offset: 5px;
}

.product-login-link:hover {
  color: var(--terracotta-dark);
}

.product-hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--mist);
}

.product-real-hero {
  min-height: 0;
  margin: 0;
  background: var(--white);
}

.product-real-hero::before {
  display: none;
}

.product-real-hero img {
  width: 100%;
  height: auto;
}

.product-hero-visual::before {
  position: absolute;
  right: -8%;
  bottom: -25%;
  z-index: -1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sand);
  content: "";
}

.product-orbit {
  position: absolute;
  top: 11%;
  left: 9%;
  z-index: -1;
  width: min(67%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgb(54 66 77 / 18%);
  border-radius: 50%;
}

.product-orbit::after {
  position: absolute;
  right: 7%;
  bottom: 3%;
  width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terracotta-dark);
  content: "";
}

.product-wallet-card {
  width: min(78%, 520px);
  min-height: 302px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 34px 74px rgb(54 66 77 / 24%);
  transform: rotate(-2deg);
}

.product-wallet-labels {
  position: absolute;
  right: 28px;
  bottom: 26px;
  display: flex;
  gap: 8px;
}

.product-wallet-labels span {
  padding: 8px 10px;
  border: 1px solid rgb(54 66 77 / 16%);
  border-radius: 999px;
  background: rgb(253 252 249 / 84%);
  color: #52606b;
  font-size: 0.66rem;
  font-weight: 650;
}

.product-promise {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.product-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.product-promise p {
  display: grid;
  align-items: center;
  min-height: 112px;
  margin: 0;
  padding: 28px clamp(24px, 3vw, 50px);
  border-right: 1px solid var(--line);
  color: var(--graphite);
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
}

.product-promise p:first-child {
  padding-left: 0;
}

.product-promise p:last-child {
  padding-right: 0;
  border-right: 0;
}

.product-real-proof {
  padding: clamp(88px, 10vw, 150px) 0;
  background: var(--white);
}

.real-proof-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.real-proof-copy h2 {
  max-width: 570px;
  margin: 0;
  color: var(--graphite);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.03;
  text-wrap: balance;
}

.real-proof-copy p {
  max-width: 480px;
  margin: 26px 0 0;
  color: #52606b;
  line-height: 1.7;
}

.real-proof-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--ivory);
  box-shadow: 0 26px 64px rgb(54 66 77 / 14%);
}

.real-proof-media img {
  width: 100%;
  height: auto;
}

.product-journey,
.product-toolkit,
.product-brand-control,
.product-faq {
  scroll-margin-top: 80px;
  padding: clamp(92px, 10vw, 160px) 0;
}

.product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.product-section-heading h2,
.brand-control-copy h2,
.product-start h2 {
  max-width: 850px;
  margin: 0;
  color: var(--graphite);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.02;
  text-wrap: balance;
}

.product-section-heading > p,
.brand-control-copy > p {
  max-width: 500px;
  margin: 0;
  color: #52606b;
  font-size: 1rem;
  line-height: 1.7;
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: journey;
}

.journey-list li {
  position: relative;
  min-height: 280px;
  padding: clamp(34px, 4vw, 60px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: journey;
}

.journey-list li:nth-child(even) {
  border-right: 0;
}

.journey-list li::before {
  display: block;
  margin-bottom: 54px;
  color: var(--terracotta-dark);
  content: "0" counter(journey);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.journey-list h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.journey-list p {
  max-width: 510px;
  margin: 0;
  color: #52606b;
  line-height: 1.7;
}

.product-toolkit {
  border-block: 1px solid var(--line);
  background: var(--graphite);
  color: var(--ivory);
}

.product-toolkit-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(64px, 9vw, 140px);
}

.toolkit-visual {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgb(246 242 234 / 20%);
  border-radius: var(--radius-surface);
  background: #43515c;
}

.toolkit-visual::before {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgb(246 242 234 / 22%);
  border-radius: 50%;
  content: "";
}

.toolkit-card-preview {
  position: relative;
  z-index: 1;
  margin: 34px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius-surface);
  background: var(--ivory);
  color: var(--graphite);
  box-shadow: 0 26px 64px rgb(20 28 35 / 24%);
}

.toolkit-card-preview img {
  width: 150px;
  margin-bottom: 78px;
}

.toolkit-card-preview strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  letter-spacing: -0.04em;
}

.toolkit-card-preview p {
  max-width: 330px;
  margin: 0;
  color: #52606b;
  line-height: 1.6;
}

.toolkit-metric {
  position: absolute;
  top: 32px;
  right: 30px;
  z-index: 2;
  width: 160px;
  padding: 18px;
  border: 1px solid rgb(246 242 234 / 20%);
  border-radius: var(--radius-control);
  background: var(--terracotta-dark);
  color: var(--white);
  box-shadow: 0 18px 44px rgb(20 28 35 / 22%);
}

.toolkit-metric span,
.toolkit-metric strong {
  display: block;
}

.toolkit-metric span {
  margin-bottom: 18px;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.toolkit-metric strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.toolkit-heading {
  display: block;
  margin-bottom: 38px;
}

.toolkit-heading h2 {
  margin-bottom: 24px;
  color: var(--ivory);
}

.toolkit-heading p {
  color: #d8deda;
}

.toolkit-list {
  margin: 0;
}

.toolkit-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgb(246 242 234 / 18%);
}

.toolkit-list dt {
  color: var(--ivory);
  font-family: var(--font-heading);
  font-weight: 650;
}

.toolkit-list dd {
  margin: 0;
  color: #d8deda;
  font-size: 0.92rem;
  line-height: 1.65;
}

.product-brand-control {
  background: var(--sand);
}

.brand-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.7fr);
  align-items: center;
  gap: clamp(60px, 10vw, 160px);
}

.brand-control-copy > p {
  margin-top: 28px;
}

.brand-control-sample {
  min-height: 390px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgb(54 66 77 / 15%);
  border-radius: var(--radius-surface);
  background: var(--terracotta-dark);
  color: var(--white);
  box-shadow: var(--shadow-surface);
  transform: rotate(1.5deg);
}

.brand-control-sample > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-control-sample img {
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 10px;
  background: var(--white);
}

.brand-control-sample span {
  font-size: 0.76rem;
  font-weight: 650;
}

.brand-control-sample strong {
  display: block;
  margin: 112px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.brand-control-sample p {
  max-width: 300px;
  margin: 0;
  color: #f1e8e2;
  line-height: 1.6;
}

.product-faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
}

.product-faq .product-section-heading {
  display: block;
  position: sticky;
  top: 110px;
  margin: 0;
}

.product-start {
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--terracotta-dark);
  color: var(--white);
}

.product-start-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.product-start h2 {
  max-width: 760px;
  color: var(--white);
}

.product-start p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #f1e8e2;
  line-height: 1.65;
}

.product-start-button {
  min-height: 54px;
  flex: 0 0 auto;
  background: var(--ivory);
  color: var(--terracotta-dark);
}

.product-start-button:hover {
  background: var(--white);
}

.product-footer {
  border-top: 0;
}

@media (max-width: 1199px) {
  .product-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 44px;
  }

  .product-hero-visual {
    min-height: 520px;
  }

  .product-toolkit-grid {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  .product-hero {
    min-height: auto;
  }

  .product-hero-grid,
  .product-toolkit-grid,
  .brand-control-grid,
  .product-faq-grid,
  .real-proof-layout {
    grid-template-columns: 1fr;
  }

  .product-hero-copy {
    max-width: 760px;
    padding-left: 0;
  }

  .product-hero-visual {
    min-height: 560px;
  }

  .product-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .product-section-heading > p {
    max-width: 650px;
  }

  .product-toolkit-grid {
    align-items: start;
  }

  .toolkit-visual {
    width: min(100%, 620px);
    min-height: 540px;
  }

  .brand-control-sample {
    width: min(100%, 600px);
  }

  .product-faq .product-section-heading {
    position: static;
    margin-bottom: 30px;
  }

  .real-proof-copy {
    max-width: 700px;
  }
}

@media (max-width: 767px) {
  .product-hero {
    padding: 52px 0 66px;
  }

  .product-hero-grid {
    gap: 52px;
  }

  .product-hero h1 {
    font-size: clamp(2.9rem, 13.8vw, 4.25rem);
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .product-primary-action {
    width: 100%;
  }

  .product-login-link {
    padding-inline: 4px;
  }

  .product-hero-visual {
    min-height: 430px;
  }

  .product-wallet-card {
    width: calc(100% - 38px);
    min-height: 260px;
    padding: 26px;
  }

  .product-wallet-labels {
    right: 16px;
    bottom: 14px;
  }

  .product-promise-grid {
    grid-template-columns: 1fr;
  }

  .product-promise p,
  .product-promise p:first-child,
  .product-promise p:last-child {
    min-height: 82px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-promise p:last-child {
    border-bottom: 0;
  }

  .product-journey,
  .product-toolkit,
  .product-brand-control,
  .product-faq {
    padding: 82px 0;
  }

  .product-real-proof {
    padding: 82px 0;
  }

  .journey-list {
    grid-template-columns: 1fr;
  }

  .journey-list li,
  .journey-list li:nth-child(even) {
    min-height: 0;
    padding: 34px 0 38px;
    border-right: 0;
  }

  .journey-list li::before {
    margin-bottom: 34px;
  }

  .toolkit-visual {
    min-height: 500px;
  }

  .toolkit-card-preview {
    margin: 18px;
  }

  .toolkit-card-preview img {
    margin-bottom: 66px;
  }

  .toolkit-metric {
    top: 18px;
    right: 16px;
    width: 142px;
  }

  .toolkit-list > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .brand-control-sample {
    min-height: 340px;
    transform: none;
  }

  .brand-control-sample strong {
    margin-top: 92px;
  }

  .product-start-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }

  .product-start-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .product-hero-visual {
    min-height: 390px;
  }

  .product-wallet-card {
    min-height: 244px;
    padding: 22px;
  }

  .product-wallet-card .loyalty-stamps {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-wallet-labels {
    display: none;
  }

  .toolkit-visual {
    min-height: 460px;
  }

  .toolkit-card-preview {
    padding: 24px;
  }

  .toolkit-card-preview img {
    width: 128px;
    margin-bottom: 74px;
  }

  .toolkit-metric {
    width: 132px;
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-wallet-card,
  .brand-control-sample {
    transform: none;
  }
}
