.page-products {
  --pp-gap: clamp(16px, 2.4vw, 28px);
  --pp-pad: clamp(18px, 2.6vw, 26px);
}

/* ---------- hero ---------- */
.page-products .prod-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 12vh, 148px) 0 clamp(36px, 5vw, 68px);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto -12%;
  height: 155%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 84% 6%, rgba(123, 77, 255, .26), transparent 68%),
    radial-gradient(46% 52% at 5% 2%, rgba(233, 185, 73, .17), transparent 70%);
}

.page-products .prod-hero__eyebrow {
  margin: 22px 0 0;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-products .prod-hero h1 {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(30px, 5.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--paper);
  max-width: 19ch;
}

.page-products .prod-hero__lead {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--mist);
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .prod-hero__stats {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-products .prod-hero__stats li {
  background: rgba(10, 16, 36, .82);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .prod-hero__stats .stat__value {
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--gold);
  letter-spacing: .01em;
}

.page-products .prod-hero__stats .stat__label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- section rhythm ---------- */
.page-products .section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.page-products .chapter__title {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -.015em;
}

/* ---------- segmented control ---------- */
.page-products .prod-seg {
  display: flex;
  gap: 6px;
  margin-top: clamp(20px, 3vw, 30px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .prod-seg .segmented__btn {
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.page-products .prod-seg .segmented__btn:hover {
  color: var(--paper);
}

.page-products .prod-seg .segmented__btn[aria-selected="true"] {
  color: var(--paper);
  background: rgba(123, 77, 255, .22);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(246, 217, 138, .28);
}

.page-products .prod-seg .segmented__btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- service panels ---------- */
.page-products .prod-svc {
  display: grid;
  gap: var(--pp-gap);
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .prod-svc__panel {
  position: relative;
  padding: var(--pp-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.page-products .prod-svc__no {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
}

.page-products .prod-svc__title {
  margin: 10px 0 8px;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--paper);
}

.page-products .prod-svc__for {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--mist);
}

.page-products .prod-svc__for span {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--teal);
}

.page-products .prod-svc__panel > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .prod-svc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-products .prod-svc__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
}

.page-products .prod-svc__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(246, 217, 138, .5);
}

.page-products .prod-svc__media {
  margin-top: clamp(22px, 3vw, 34px);
}

/* ---------- media ---------- */
.page-products figure.media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.page-products figure.media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media__caption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- tier table ---------- */
.page-products .tier-scroll {
  margin-top: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .tier-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .tier-table__caption {
  padding: 14px 18px 0;
  text-align: left;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-products .tier-table th,
.page-products .tier-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
}

.page-products .tier-table thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
  background: rgba(233, 185, 73, .06);
}

.page-products .tier-table tbody th {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}

.page-products .tier-table tbody td {
  color: var(--mist);
}

.page-products .tier-table tbody tr:last-child th,
.page-products .tier-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .tier-table tbody tr:hover th,
.page-products .tier-table tbody tr:hover td {
  background: rgba(123, 77, 255, .08);
}

.page-products .note {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mist);
  border-left: 2px solid var(--teal);
  padding-left: 14px;
}

/* ---------- registration ---------- */
.page-products .prod-reg {
  display: grid;
  gap: var(--pp-gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .prod-reg__subtitle {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .step__no {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--teal);
}

.page-products .step h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .prod-reg__prep {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .prod-reg__media {
  align-self: start;
}

/* ---------- mobile section ---------- */
.page-products .prod-mobile {
  display: grid;
  gap: var(--pp-gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .prod-mobile__cards {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-products .m-card {
  position: relative;
  padding: var(--pp-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .m-card__no {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--violet);
}

.page-products .m-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .m-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .prod-mobile__media {
  max-width: 340px;
  width: 100%;
  justify-self: center;
}

/* ---------- events ---------- */
.page-products .prod-events {
  display: grid;
  gap: var(--pp-gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .prod-events__body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .prod-events__points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-products .prod-events__points li {
  padding: 14px 16px;
  background: var(--panel);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .prod-events__points .mono {
  display: inline-block;
  min-width: 96px;
  margin-right: 10px;
  color: var(--gold);
  font-size: 13px;
}

.page-products .prod-events__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .prod-events__hint a,
.page-products .prod-cta a:not(.btn) {
  color: var(--gold-hi);
  text-decoration: underline;
  text-decoration-color: rgba(123, 77, 255, .8);
  text-underline-offset: 4px;
}

/* ---------- booking flow ---------- */
.page-products .flow {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-products .flow__step {
  background: var(--panel);
  padding: 18px;
}

.page-products .flow__no {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--teal);
}

.page-products .flow__step h3 {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .flow__step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .prod-book {
  display: grid;
  gap: var(--pp-gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .prod-book__info h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .prod-book__info p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .prod-book__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .prod-book__contact .mono {
  font-size: 13.5px;
  color: var(--gold-hi);
  word-break: break-all;
}

.page-products .prod-book__contact .copy-btn {
  margin-left: auto;
}

/* ---------- qa ---------- */
.page-products .qa {
  margin-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid var(--line);
}

.page-products .qa details {
  border-bottom: 1px solid var(--line);
}

.page-products .qa summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

.page-products .qa summary::-webkit-details-marker {
  display: none;
}

.page-products .qa summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  color: var(--gold);
}

.page-products .qa details[open] summary::after {
  content: "–";
  color: var(--violet);
}

.page-products .qa summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.page-products .qa p {
  margin: 0 0 20px;
  max-width: 70ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .qa a {
  color: var(--gold-hi);
  text-decoration: underline;
  text-decoration-color: rgba(123, 77, 255, .8);
  text-underline-offset: 4px;
}

/* ---------- closing cta ---------- */
.page-products .prod-cta {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 3.6vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(118deg, rgba(123, 77, 255, .16), rgba(233, 185, 73, .1));
  display: grid;
  gap: 18px;
}

.page-products .prod-cta h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 900;
  color: var(--paper);
}

.page-products .prod-cta p {
  margin: 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .prod-cta .btn {
  justify-self: start;
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .page-products .prod-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-products .prod-mobile__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .prod-svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .prod-reg {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }

  .page-products .prod-events {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-products .prod-book {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .prod-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1020px) {
  .page-products .prod-mobile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    align-items: start;
  }

  .page-products .prod-mobile__media {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .page-products .prod-svc__panel,
  .page-products .m-card,
  .page-products .step {
    padding: 16px;
  }

  .page-products .step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .page-products .step__no {
    font-size: 16px;
  }

  .page-products .prod-cta {
    padding: 20px 16px;
  }

  .page-products .prod-cta .btn {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-seg .segmented__btn {
    transition: none;
  }
}
