/* Explainer pages (for-sellers / for-buyers): sage scene, glass column,
   Stream video (horizontal desktop / vertical mobile), subscription plans.
   Bodoni Moda + Jost + DM Mono. Scene images resolved by AssetMapper from
   the relative url() below. */

.xp-scene {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  font-family: Jost, system-ui, sans-serif;
  color: #232622;
  background-color: #a9baab;
  background-image: url("../images/scene-left-Za8EC-K.jpg"), url("../images/scene-right-fyYmKpo.jpg");
  background-position: left top, right top;
  background-size: auto 100vh, auto 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.xp-column {
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  box-sizing: border-box;
  border-left: 1px solid rgba(255, 255, 255, .4);
  border-right: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 0 60px rgba(40, 50, 42, .18);
  padding: 0 clamp(16px, 5vw, 60px) 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: linear-gradient(180deg, rgba(210, 224, 213, .94) 0%, rgba(178, 195, 181, .92) 45%, rgba(146, 162, 148, .94) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.xp-column a:hover { color: #6b3a4e; }

/* ── Header ──────────────────────────────────────────────────────── */
.xp-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding-top: 14px;
}
.xp-navlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #3a403a;
}
.xp-navlink--back { justify-self: start; }
.xp-navlink--cross { justify-self: end; }
.xp-head__label {
  justify-self: center;
  margin: 0;
  font-size: 17px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #2f342f;
  text-align: center;
}

/* ── Intro ───────────────────────────────────────────────────────── */
.xp-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding-top: 12px;
}
.xp-eyebrow {
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #565f57;
}
.xp-eyebrow--wine { color: #6b3a4e; }
.xp-title {
  margin: 0;
  font-family: 'Bodoni Moda', Didot, serif;
  font-weight: 600;
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #161816;
}
.xp-lede {
  margin: 6px 0 0;
  max-width: 600px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: #3d433d;
}

/* ── Video ───────────────────────────────────────────────────────── */
.xp-frame {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-radius: 30px;
  border: 1px solid rgba(20, 24, 20, .35);
  box-shadow: 0 30px 80px rgba(40, 50, 42, .28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: radial-gradient(ellipse at 30% 22%, #57563f 0%, #3a3d33 38%, #2a2e29 70%, #262a26 100%);
}
.xp-frame--h { aspect-ratio: 16 / 9; }
.xp-frame--v { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; display: none; }

.xp-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.xp-play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .1);
  color: #e4c98c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.xp-play svg { margin-left: 3px; }
.xp-play:hover { transform: scale(1.06); background-color: rgba(255, 255, 255, .16); }
.xp-video__note { margin: 0; font-size: 19px; color: #d8d1bf; }

/* ── Plans ───────────────────────────────────────────────────────── */
.xp-plans {
  position: relative;
  box-sizing: border-box;
  border-radius: 30px;
  background: linear-gradient(180deg, #e9e6dd 0%, #e3e0d5 100%);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 20px 60px rgba(40, 50, 42, .16);
  padding: 48px clamp(20px, 6vw, 72px) 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 24px;
}
.xp-pearl {
  position: absolute;
  top: 28px;
  left: 30px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #efe6da 45%, #c9bba8 100%);
  box-shadow: 0 3px 6px rgba(60, 50, 40, .25);
}
.xp-plans__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.xp-plans__intro { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.xp-plans__title {
  margin: 0;
  font-family: 'Bodoni Moda', Didot, serif;
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  color: #232622;
}
.xp-plans__lede { margin: 0; font-size: 18px; line-height: 1.6; color: #45493f; }

.xp-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #cfcabd;
  background: #f2f0e9;
}
.xp-toggle__btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #3d433d;
  font-family: Jost, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.xp-toggle__btn.is-active { background: #2b2f2a; color: #f4f1ea; }

.xp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.xp-plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid #d6d1c4;
  background: #f4f2ec;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.xp-plan:hover { border-color: #6b3a4e; box-shadow: 0 10px 30px rgba(40, 46, 40, .12); }
.xp-plan--reco { position: relative; border-color: #6b3a4e; background: #fbfaf6; }
.xp-plan__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #6b3a4e;
  color: #f7efe9;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.xp-plan__name { display: flex; flex-direction: column; gap: 6px; }
.xp-plan__name h3 { margin: 0; font-family: 'Bodoni Moda', Didot, serif; font-size: 26px; font-weight: 600; }
.xp-plan__who { margin: 0; font-size: 15px; line-height: 1.5; color: #5a5f55; }
.xp-plan__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.xp-plan__amount { font-family: 'Bodoni Moda', Didot, serif; font-size: 36px; font-weight: 600; }
.xp-plan__period { font-size: 15px; color: #5a5f55; }
.xp-plan__feats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #33372f;
  flex-grow: 1;
}
.xp-plan__feats li { display: flex; gap: 10px; }
.xp-dot { flex-shrink: 0; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: #6b3a4e; }
.xp-plan__cta {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #2b2f2a;
  color: #2b2f2a;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.xp-plan__cta--solid { background: #2b2f2a; color: #f4f1ea; border-color: #2b2f2a; }
.xp-plan__cta--solid:hover { color: #f4f1ea; }

/* ── Responsive: vertical video on mobile, fixed bg off ──────────── */
@media (max-width: 767px) {
  .xp-scene { background-attachment: scroll; background-size: cover, 0; }
  .xp-frame--h { display: none; }
  .xp-frame--v { display: flex; }
  .xp-head__label { font-size: 13px; letter-spacing: 0.18em; }
}
