.page-products {
  --p-orange-deep: #B84A14;
  --p-cyan-deep: #0F7A6B;
  overflow-x: clip;
}

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

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

/* ---------- Hero ---------- */
.page-products .cost-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(30px, 7vw, 70px)) 0 clamp(42px, 7vw, 92px);
  background:
    radial-gradient(120% 92% at 88% -6%, rgba(55, 240, 216, .17), transparent 62%),
    radial-gradient(96% 74% at 6% 18%, rgba(18, 62, 99, .62), transparent 72%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  overflow: hidden;
}

.page-products .cost-hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  position: relative;
  z-index: 1;
}

.page-products .cost-hero__eyebrow {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.page-products .cost-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(36px, 8.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-products .cost-hero__title strong {
  font-weight: 900;
  color: var(--cyan);
}

.page-products .cost-hero__lede {
  margin: 20px 0 0;
  max-width: 42em;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.78;
  color: var(--text-dim);
}

.page-products .cost-hero__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.page-products .cost-hero__fact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 14px;
  border-left: 2px solid var(--steel);
}

.page-products .cost-hero__fact-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .cost-hero__fact-label {
  font-size: 13px;
  color: var(--text-faint);
}

.page-products .cost-hero__actions {
  margin-top: 30px;
}

.page-products .cost-hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
}

.page-products .cost-hero__phone {
  position: relative;
  z-index: 1;
  transform: rotate(-4deg);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(4, 16, 28, 1);
  border: 1px solid rgba(55, 240, 216, .28);
}

.page-products .cost-hero__glow {
  position: absolute;
  inset: 12% -18% -12% -18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(55, 240, 216, .26), transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

/* ---------- Plans ---------- */
.page-products .plans {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
}

.page-products .plans__aura {
  position: absolute;
  top: -6%;
  right: -22%;
  width: min(540px, 84vw);
  opacity: .17;
  pointer-events: none;
}

.page-products .plans__aura img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
}

.page-products .plans__inner {
  position: relative;
  z-index: 1;
}

.page-products .plans__head {
  max-width: 62ch;
}

.page-products .plans__switch-wrap {
  margin-top: clamp(26px, 4vw, 40px);
}

.page-products .plans__switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 34, 57, .78);
}

.page-products .plans__opt {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-dim);
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.page-products .plans__opt:hover {
  color: var(--text);
}

.page-products #bill-y:checked ~ .plans__switch .plans__opt--y,
.page-products #bill-q:checked ~ .plans__switch .plans__opt--q {
  background: var(--cyan);
  color: var(--ink);
}

.page-products .plans__grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.page-products .plan-card {
  position: relative;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius-card);
  background: linear-gradient(158deg, rgba(18, 62, 99, .58) 0%, rgba(11, 34, 57, .94) 78%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}

.page-products .plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.page-products .plan-card--pro {
  border-color: rgba(55, 240, 216, .44);
  background: linear-gradient(158deg, rgba(18, 62, 99, .78) 0%, rgba(6, 20, 38, .96) 82%);
}

.page-products .plan-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px 24px 9px 30px;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
}

.page-products .plan-card__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.page-products .plan-card__name {
  margin: 8px 0 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  max-width: 22ch;
}

.page-products .plan-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 20px 0 0;
}

.page-products .plan-card__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(38px, 7.4vw, 54px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-products .plan-card__unit {
  font-size: 13px;
  color: var(--text-dim);
}

.page-products .plan-card__save {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan-soft);
}

.page-products .pay--q {
  display: none;
}

.page-products #bill-q:checked ~ .plans__grid .pay--y {
  display: none;
}

.page-products #bill-q:checked ~ .plans__grid .pay--q {
  display: inline-block;
}

.page-products .plan-card__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .plan-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-dim);
}

.page-products .plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .plan-card__fit {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ---------- Fees（浅区） ---------- */
.page-products .fees {
  background: linear-gradient(180deg, var(--mist) 0%, #E8F1F6 100%);
}

.page-products .fees__grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
}

.page-products .fee-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-products .fee-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 15px 18px;
  border-radius: var(--radius-soft);
  background: #FFFFFF;
  border: 1px solid rgba(30, 78, 114, .16);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.page-products .fee-item:hover,
.page-products .fee-item:focus-within {
  border-color: rgba(55, 240, 216, .7);
  box-shadow: 0 18px 38px -30px rgba(4, 16, 28, .8);
}

.page-products .fee-item__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
}

.page-products .fee-item__price {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--p-orange-deep);
  text-align: right;
  white-space: nowrap;
}

.page-products .fee-item__more {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(42, 59, 77, .78);
  overflow: hidden;
}

.page-products .fees__foot {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(42, 59, 77, .7);
}

.page-products .fees__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(30, 78, 114, .18);
  box-shadow: 0 30px 60px -44px rgba(4, 16, 28, .9);
}

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

/* ---------- Diff（权益对照） ---------- */
.page-products .diff {
  background:
    radial-gradient(90% 80% at 92% 0%, rgba(55, 240, 216, .12), transparent 66%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}

.page-products .diff__grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.page-products .cmp {
  margin-top: 26px;
}

.page-products .cmp__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 34, 57, .72);
}

.page-products .cmp__tab {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.page-products .cmp__tab:hover {
  color: var(--text);
}

.page-products #cmp-a:checked ~ .cmp__tabs .cmp__tab--a,
.page-products #cmp-b:checked ~ .cmp__tabs .cmp__tab--b {
  background: var(--cyan);
  color: var(--ink);
}

.page-products .cmp__panels {
  margin-top: 20px;
}

.page-products .cmp__panel {
  display: none;
}

.page-products #cmp-a:checked ~ .cmp__panels .cmp__panel--a,
.page-products #cmp-b:checked ~ .cmp__panels .cmp__panel--b {
  display: block;
}

.page-products .cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .cmp-row:first-child {
  border-top: 1px solid var(--line);
}

.page-products .cmp-row__key {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan-soft);
}

.page-products .cmp-row__val {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-products .cmp-row__who {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-faint);
}

.page-products .diff__media {
  margin: 0;
  align-self: start;
}

.page-products .diff__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: rgba(11, 34, 57, .5);
}

.page-products .diff__cap {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ---------- Quote（浅区） ---------- */
.page-products .quote {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
}

.page-products .quote__grid {
  display: grid;
  gap: clamp(28px, 5vw, 50px);
}

.page-products .quote__price {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-radius: var(--radius-soft);
  background: #FFFFFF;
  border: 1px solid rgba(30, 78, 114, .16);
  border-left: 4px solid var(--orange);
}

.page-products .quote__num {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: .02em;
  color: var(--p-orange-deep);
  font-variant-numeric: tabular-nums;
}

.page-products .quote__unit {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(42, 59, 77, .78);
}

.page-products .quote__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .quote__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .quote__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--p-cyan-deep);
}

.page-products .quote__note {
  margin: 20px 0 24px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(42, 59, 77, .68);
}

.page-products .quote__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(30, 78, 114, .16);
  box-shadow: 0 30px 60px -46px rgba(4, 16, 28, .85);
}

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

/* ---------- Flow ---------- */
.page-products .flow-section {
  background:
    radial-gradient(80% 70% at 8% 100%, rgba(55, 240, 216, .12), transparent 66%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.page-products .flow {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
}

.page-products .flow__step {
  position: relative;
  padding-left: 34px;
}

.page-products .flow__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(55, 240, 216, .16);
}

.page-products .flow__step::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  bottom: -26px;
  border-left: 1px dashed rgba(55, 240, 216, .42);
}

.page-products .flow__step:last-child::before {
  display: none;
}

.page-products .flow__idx {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cyan-soft);
}

.page-products .flow__name {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-products .flow__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-products .flow__note {
  margin: 30px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-faint);
}

.page-products .flow__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(55, 240, 216, .5);
}

.page-products .flow__note a:hover {
  color: var(--cyan-soft);
}

/* ---------- FAQ ---------- */
.page-products .faq {
  background: linear-gradient(180deg, var(--mist) 0%, #E6EFF5 100%);
}

.page-products .faq__list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.page-products .faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(30, 78, 114, .16);
  border-radius: var(--radius-soft);
  padding: 2px 18px;
  transition: border-color .22s var(--ease);
}

.page-products .faq-item[open] {
  border-color: rgba(55, 240, 216, .7);
}

.page-products .faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
}

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

.page-products .faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--p-cyan-deep);
}

.page-products .faq-item[open] summary::after {
  content: "−";
}

.page-products .faq-item p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(42, 59, 77, .84);
}

.page-products .faq__more {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(30, 78, 114, .2);
}

.page-products .faq__more p {
  margin: 0;
  max-width: 58em;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(42, 59, 77, .78);
}

.page-products .faq__more .btn-row {
  margin-top: 18px;
}

/* ---------- 断点 ---------- */
@media (min-width: 768px) {
  .page-products .fees__grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
    align-items: start;
  }

  .page-products .fees__media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-products .cmp-row {
    grid-template-columns: 172px minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .cmp-row__key {
    grid-column: auto;
    padding-top: 3px;
  }

  .page-products .cmp-row__who {
    display: none;
  }

  .page-products .quote__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
  }

  .page-products .diff__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .cost-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
  }

  .page-products .cost-hero__visual {
    width: min(100%, 380px);
  }

  .page-products .plans__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

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

  .page-products .flow__step {
    padding-left: 0;
    padding-top: 36px;
  }

  .page-products .flow__dot {
    top: 0;
    left: 0;
  }

  .page-products .flow__step::before {
    left: 22px;
    right: -24px;
    top: 7px;
    bottom: auto;
    border-left: 0;
    border-top: 1px dashed rgba(55, 240, 216, .42);
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .page-products .fee-item__more {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height .3s var(--ease), opacity .3s var(--ease), margin-top .3s var(--ease);
  }

  .page-products .fee-item:hover .fee-item__more,
  .page-products .fee-item:focus-within .fee-item__more {
    max-height: 6em;
    opacity: 1;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .plan-card,
  .page-products .fee-item,
  .page-products .fee-item__more,
  .page-products .plans__opt,
  .page-products .cmp__tab {
    transition: none;
  }

  .page-products .plan-card:hover {
    transform: none;
  }
}
