.page-products {
  --ph-w: 0%;
  background-color: var(--ink-900);
  color: var(--dim);
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
}

/* ---------- hero ---------- */

.page-products .ph-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 92% at 88% 4%, rgba(47, 182, 168, .16), transparent 58%),
    radial-gradient(90% 72% at 6% 0%, rgba(240, 138, 44, .14), transparent 60%),
    var(--ink-900);
}

.page-products .ph-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--amber) 15%, rgba(255, 194, 75, 0) 15%);
  pointer-events: none;
}

.page-products .ph-hero__inner {
  display: grid;
  gap: 34px;
  align-items: start;
}

.page-products .ph-hero__copy {
  min-width: 0;
}

.page-products .breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(215, 222, 232, .6);
}

.page-products .breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-products .breadcrumbs a:hover,
.page-products .breadcrumbs a:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.page-products .ph-hero__eyebrow {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--teal);
}

.page-products .ph-hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 5.6vw, 52px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--bright);
  transform: skewX(-2deg);
  transform-origin: left center;
}

.page-products .ph-hero__lead {
  margin: 20px 0 0;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--dim);
}

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

.page-products .ph-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .ph-hero__stat {
  min-width: 0;
  background: var(--ink-800);
  padding: 14px 16px;
}

.page-products .ph-hero__stat dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(215, 222, 232, .58);
}

.page-products .ph-hero__stat dd {
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
}

.page-products .ph-hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  box-shadow: var(--shadow-1);
}

.page-products .ph-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  filter: saturate(.72) contrast(1.04);
}

.page-products .ph-hero__cap {
  margin: 11px 2px 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: rgba(215, 222, 232, .56);
}

/* ---------- shared section rhythm ---------- */

.page-products .ph-section {
  padding: 58px 0;
}

.page-products .ph-fee {
  background: var(--ink-800);
}

.page-products .ph-replay {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
}

.page-products .ph-unlock {
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.page-products .ph-choose {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
}

.page-products .ph-switch {
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.page-products .ph-consult {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
}

.page-products .section-head {
  display: grid;
  gap: 10px;
  max-width: 76ch;
}

.page-products .section-head__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--orange);
}

.page-products .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.015em;
  color: var(--bright);
}

.page-products .ph-fee__sub,
.page-products .ph-replay__sub {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(215, 222, 232, .78);
}

/* ---------- 01 fee bands ---------- */

.page-products .ph-fee__layout {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

.page-products .ph-fee__table-wrap {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.page-products .ph-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--paper);
  color: var(--dark);
  font-size: 14px;
}

.page-products .ph-table thead th {
  background: var(--ink-900);
  color: var(--bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-align: left;
  padding: 13px 15px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.page-products .ph-table tbody th {
  text-align: left;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dark);
  padding: 15px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(27, 36, 48, .14);
  border-left: 3px solid transparent;
}

.page-products .ph-table tbody td {
  padding: 15px;
  line-height: 1.62;
  vertical-align: top;
  border-bottom: 1px solid rgba(27, 36, 48, .14);
}

.page-products .ph-table tbody tr:nth-child(odd) {
  background: #EDE5D8;
}

.page-products .ph-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.page-products .ph-table tbody tr:hover,
.page-products .ph-table tbody tr:focus-within {
  background: #FFF5E1;
}

.page-products .ph-table tbody tr:hover th,
.page-products .ph-table tbody tr:focus-within th {
  border-left-color: var(--orange);
  color: #8A4410;
}

.page-products .ph-table__hint {
  margin: 12px 2px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(215, 222, 232, .55);
}

.page-products .ph-fee__side {
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.page-products .ph-fee__side-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--bright);
}

.page-products .ph-fee__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.page-products .ph-fee__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--dim);
}

.page-products .ph-fee__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 9px;
  height: 1px;
  background: var(--teal);
}

.page-products .ph-fee__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(215, 222, 232, .7);
}

.page-products .ph-fee__drawers {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.page-products .ph-drawer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  overflow: hidden;
}

.page-products .ph-drawer__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  transition: background-color .22s var(--ease);
}

.page-products .ph-drawer__head::-webkit-details-marker {
  display: none;
}

.page-products .ph-drawer__head:hover {
  background: rgba(240, 138, 44, .09);
}

.page-products .ph-drawer[open] .ph-drawer__head {
  background: rgba(240, 138, 44, .12);
}

.page-products .ph-drawer__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-products .ph-drawer__title {
  min-width: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bright);
}

.page-products .ph-drawer__sign {
  position: relative;
  width: 14px;
  height: 14px;
}

.page-products .ph-drawer__sign::before,
.page-products .ph-drawer__sign::after {
  content: "";
  position: absolute;
  background: var(--teal);
  transition: transform .25s var(--ease);
}

.page-products .ph-drawer__sign::before {
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1.5px;
}

.page-products .ph-drawer__sign::after {
  left: 6.5px;
  top: 0;
  width: 1.5px;
  height: 14px;
}

.page-products .ph-drawer[open] .ph-drawer__sign::after {
  transform: scaleY(0);
}

.page-products .ph-drawer__body {
  padding: 14px 18px 20px 46px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--dim);
}

.page-products .ph-drawer__body p {
  margin: 0;
}

/* ---------- 02 replay ---------- */

.page-products .ph-replay__grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.page-products .ph-replay__card {
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--ink-800);
  transition: transform .28s var(--ease), border-top-color .28s var(--ease);
}

.page-products .ph-replay__card:hover {
  transform: translateY(-3px);
  border-top-color: var(--amber);
}

.page-products .ph-replay__card h3 {
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--bright);
}

.page-products .ph-replay__card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--dim);
}

.page-products .ph-replay__callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(47, 182, 168, .12), rgba(14, 26, 46, 0) 64%);
}

.page-products .ph-replay__callout-text {
  margin: 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--dim);
}

/* ---------- ridge divider ---------- */

.page-products .ph-ridge {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 216px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);
}

.page-products .ph-ridge__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.5) brightness(.55) contrast(1.1);
}

.page-products .ph-ridge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 46, .3), rgba(14, 26, 46, .94));
  pointer-events: none;
}

.page-products .ph-ridge__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 34px;
  padding-bottom: 30px;
}

.page-products .ph-ridge__text {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(18px, 3.1vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--bright);
}

/* ---------- 03 unlock ---------- */

.page-products .ph-unlock__layout {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

.page-products .ph-unlock__media {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.page-products .ph-unlock__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.7) contrast(1.03);
}

.page-products .ph-unlock__cards {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-products .ph-depth {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.page-products .ph-depth__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-products .ph-depth__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-products .ph-depth__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--bright);
}

.page-products .ph-depth__desc {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(215, 222, 232, .82);
}

.page-products .ph-depth__bars {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-products .ph-depth__bar {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.page-products .ph-depth__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(215, 222, 232, .66);
}

.page-products .ph-depth__track {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 1px;
  background: rgba(58, 74, 99, .55);
  overflow: hidden;
}

.page-products .ph-depth__fill {
  display: block;
  width: var(--ph-w);
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

/* ---------- 04 choose ---------- */

.page-products .ph-choose__grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.page-products .ph-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  overflow: hidden;
}

.page-products .ph-choice::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(.32);
  transform-origin: left center;
  transition: transform .38s var(--ease);
}

.page-products .ph-choice:nth-child(2)::before {
  background: var(--teal);
}

.page-products .ph-choice:nth-child(3)::before {
  background: var(--brick);
}

.page-products .ph-choice:hover::before,
.page-products .ph-choice:focus-within::before {
  transform: scaleX(1);
}

.page-products .ph-choice__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-products .ph-choice h3 {
  margin: 13px 0 12px;
  font-size: 19px;
  line-height: 1.36;
  color: var(--bright);
}

.page-products .ph-choice p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--dim);
}

.page-products .ph-choice__pick {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(215, 222, 232, .74);
}

/* ---------- 05 switch ---------- */

.page-products .ph-switch__layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-products .ph-switch__head {
  display: grid;
  gap: 10px;
}

.page-products .ph-switch__copy {
  min-width: 0;
}

.page-products .ph-switch__list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.page-products .ph-switch__list li {
  padding-left: 18px;
  border-left: 2px solid var(--line);
  transition: border-color .24s var(--ease);
}

.page-products .ph-switch__list li:hover {
  border-left-color: var(--orange);
}

.page-products .ph-switch__list h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--bright);
}

.page-products .ph-switch__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--dim);
}

.page-products .ph-switch__media {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.page-products .ph-switch__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.6) contrast(1.05);
}

/* ---------- 06 consult ---------- */

.page-products .ph-consult__layout {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

.page-products .ph-consult__info {
  min-width: 0;
}

.page-products .ph-consult__dl {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-products .ph-consult__dl > div {
  padding: 14px 18px;
  background: var(--ink-800);
}

.page-products .ph-consult__dl dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(215, 222, 232, .6);
}

.page-products .ph-consult__dl dd {
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--bright);
  overflow-wrap: anywhere;
}

.page-products .ph-consult__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.76;
  color: rgba(215, 222, 232, .7);
}

.page-products .ph-consult__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-products .ph-consult__media {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .ph-consult__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.55) brightness(.92);
  opacity: .94;
}

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .page-products .ph-hero {
    padding: 34px 0 64px;
  }

  .page-products .ph-section {
    padding: 68px 0;
  }

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

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

@media (min-width: 900px) {
  .page-products .ph-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 54px;
  }

  .page-products .ph-unlock__layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .ph-switch__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    gap: 46px;
  }

  .page-products .ph-consult__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 44px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-products .ph-fee__layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .ph-table__hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-products .ph-hero h1 {
    transform: none;
  }

  .page-products .ph-hero__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .ph-drawer__body {
    padding: 14px 16px 18px 16px;
  }

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

  .page-products .ph-replay__callout,
  .page-products .ph-consult__actions {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .ph-replay__card,
  .page-products .ph-choice::before,
  .page-products .ph-drawer__head,
  .page-products .ph-drawer__sign::before,
  .page-products .ph-drawer__sign::after,
  .page-products .ph-switch__list li,
  .page-products .breadcrumbs a {
    transition: none;
  }

  .page-products .ph-replay__card:hover {
    transform: none;
  }
}
