.member-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #101013;
}
.member-page main { flex: 1; }
.member-content { padding-block: clamp(28px, 4vw, 58px) clamp(38px, 5vw, 80px); }
.member-back {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 36px;
  color: #c4bfca;
  font-size: .88rem;
}
.member-back:hover { color: #fff; }
.member-back svg { width: 16px; height: 16px; }
.member-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-areas: "intro card" "wallets card";
  column-gap: clamp(32px, 6vw, 112px);
  row-gap: 27px;
  align-items: start;
  margin: clamp(24px, 3vw, 52px) 0 clamp(36px, 5vw, 68px);
}
.member-intro { grid-area: intro; }
.member-intro h1 {
  margin: 0 0 18px;
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.8vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.member-intro h1 span { color: #bd88fc; }
.member-intro p { max-width: 48ch; color: #c7c3ce; font-size: 1.06rem; line-height: 1.65; }
.member-wallets { grid-area: wallets; }
.wallet-notice { margin: 0 0 12px; color: #d6d2dc; font-size: .91rem; }
.wallet-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.wallet-option {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  opacity: 1;
  cursor: default;
}
.wallet-option img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 44px;
}
.wallet-option .samsung-wallet-badge { max-height: 52px; }
.member-example {
  grid-area: card;
  width: 100%;
  max-width: 500px;
  align-self: center;
  justify-self: end;
  margin: 0;
}
.member-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.7;
  min-height: 196px;
  border-radius: clamp(16px, 1.8vw, 25px);
  border: 1px solid #685573;
  overflow: hidden;
  padding: clamp(19px, 2.35vw, 34px);
  background-color: #17131b;
  background-image: linear-gradient(155deg, #18121ccb 2%, #1a122241 53%, #0e0b13ed 99%), url("assets/hero.webp");
  background-position: center, 71% 55%;
  background-size: cover;
  box-shadow: 0 18px 48px #0005;
}
.member-card .brand { align-self: start; gap: 9px; }
.member-card .brand-symbol { width: clamp(32px, 3vw, 45px); }
.member-card .brand-word { width: clamp(102px, 10vw, 140px); }
.card-details {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 16px;
}
.card-details p { font-size: clamp(1.45rem, 2.35vw, 2.45rem); font-weight: 590; letter-spacing: -.045em; line-height: 1.12; }
.card-details small { color: #e1d6ef; font-size: .77rem; }
.member-example figcaption { margin-top: 12px; color: #aba6b1; text-align: center; font-size: .78rem; }
.member-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #37333d;
  padding-top: clamp(24px, 3vw, 40px);
  gap: clamp(20px, 4vw, 62px);
}
.member-benefits dt { margin-bottom: 7px; font-size: 1.13rem; font-weight: 640; }
.member-benefits dd { margin: 0; color: #bcb8c3; line-height: 1.6; font-size: .96rem; max-width: 36ch; }
@media (max-width: 760px) {
  .member-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "wallets"; gap: 26px; }
  .member-intro h1 { max-width: 16ch; }
  .member-intro p { font-size: 1rem; }
  .member-example { max-width: 432px; justify-self: start; }
  .member-benefits { grid-template-columns: 1fr; gap: 20px; }
  .member-benefits dd { max-width: 52ch; }
}
@media (max-width: 440px) {
  .member-card { min-height: 166px; }
  .wallet-options { align-items: flex-start; flex-direction: column; }
}

.contact-member { background: #151418; border-top: 1px solid #37333d; }
.contact-member-inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; gap: clamp(28px,6vw,90px); padding-block: clamp(32px,5vw,70px); }
.contact-member h2 { margin: 0 0 .65rem; font-size: clamp(1.8rem,3.5vw,3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.contact-member h2 em { color: #c69afa; font-style: normal; }
.contact-member-copy > p { max-width: 44ch; color: #ccc6d1; line-height: 1.6; }
.contact-member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 1.15rem; }
.contact-member-link { display: inline-flex; align-items: center; min-height: 44px; color: #d9b7ff; text-decoration: underline; text-underline-offset: .22em; }
.contact-member .member-card { width: 100%; max-width: 360px; justify-self: end; min-height: 0; }
.member-wallets .save-sensoria-contact { margin-bottom: 1.2rem; }
@media (max-width: 690px) {
  .contact-member-inner { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .contact-member .member-card { max-width: 265px; justify-self: start; }
}
