/* Mangix product center */

.product-center-page {
  background: #f7fafc;
}

.product-center-page .site-header {
  background: rgba(250, 252, 254, 0.9);
}

.header-star-mark {
  display: block;
  width: 36px;
  height: 36px;
  margin-right: 1px;
}

.products-hero {
  position: relative;
  min-height: 870px;
  padding: 172px 0 102px;
  color: #fff;
  background: #071128;
  overflow: hidden;
}

.products-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(113, 221, 227, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(113, 221, 227, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.65) 72%, transparent 100%);
}

.products-hero-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.glow-cyan {
  top: -370px;
  left: -250px;
  background: radial-gradient(circle, rgba(88, 217, 232, 0.23), transparent 68%);
}

.glow-violet {
  right: -300px;
  bottom: -360px;
  background: radial-gradient(circle, rgba(120, 104, 242, 0.26), transparent 67%);
}

.products-hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(430px, 0.8fr) minmax(580px, 1.2fr);
  align-items: center;
  gap: 68px;
}

.products-hero-copy h1 {
  max-width: 790px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(54px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.products-hero-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(226, 237, 253, 0.7);
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

.products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.product-ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.06);
}

.product-ghost-button:hover {
  border-color: rgba(124, 230, 186, 0.35);
  background: rgba(124, 230, 186, 0.08);
}

.product-development-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: rgba(215, 229, 247, 0.55);
  font-size: 11px;
}

.product-development-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(124, 230, 186, 0.08), 0 0 18px rgba(124, 230, 186, 0.52);
}

.product-universe-board {
  position: relative;
  min-height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 42px;
  background: radial-gradient(circle at 50% 50%, rgba(88, 217, 232, 0.1), transparent 35%), rgba(255, 255, 255, 0.025);
  box-shadow: 0 48px 100px rgba(0, 4, 20, 0.48), inset 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.product-universe-board::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 31px;
  pointer-events: none;
}

.product-universe-board > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(88, 217, 232, 0.16);
  stroke-width: 1.4;
}

.universe-brand-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 184px;
  height: 184px;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(124, 230, 186, 0.25);
  border-radius: 50%;
  background: rgba(7, 17, 40, 0.82);
  box-shadow: 0 0 80px rgba(88, 217, 232, 0.16), inset 0 0 35px rgba(120, 104, 242, 0.09);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
}

.universe-brand-core img {
  margin: 0 auto;
}

.universe-brand-core strong,
.universe-brand-core small {
  display: block;
}

.universe-brand-core strong {
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
}

.universe-brand-core small {
  margin-top: 5px;
  color: rgba(212, 230, 249, 0.55);
  font-size: 7px;
  letter-spacing: 0.07em;
}

.universe-product {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(19, 32, 70, 0.78);
  box-shadow: 0 14px 30px rgba(0, 4, 20, 0.28);
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.universe-product:hover {
  z-index: 8;
  border-color: rgba(124, 230, 186, 0.34);
  background: rgba(28, 44, 88, 0.94);
  transform: translateY(-5px) scale(1.03);
}

.universe-product > span {
  color: var(--mint);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.universe-product strong {
  margin-top: 4px;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.universe-product small {
  margin-top: 3px;
  color: rgba(215, 230, 248, 0.5);
  font-size: 8px;
}

.up-vocab { top: 9%; left: 8%; }
.up-listen { top: 9%; right: 8%; }
.up-schedule { top: 44%; right: 3%; }
.up-cards { right: 12%; bottom: 8%; }
.up-anime { bottom: 8%; left: 12%; }
.up-custom { top: 44%; left: 3%; }

.product-anchor-rail {
  position: sticky;
  z-index: 70;
  top: 82px;
  border-bottom: 1px solid rgba(16, 23, 53, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(28, 40, 73, 0.05);
  backdrop-filter: blur(18px);
}

.product-anchor-rail .section-shell {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-anchor-rail a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 62px;
  color: #667186;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.product-anchor-rail a::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-anchor-rail a span {
  color: #9ba3b1;
  font-size: 7px;
  font-weight: 900;
}

.product-anchor-rail a.is-active {
  color: var(--navy);
}

.product-anchor-rail a.is-active span {
  color: var(--violet);
}

.product-anchor-rail a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.product-center-intro {
  padding: 125px 0 104px;
  background: #f3f7f9;
}

.center-intro-shell {
  max-width: 1080px;
  text-align: center;
}

.center-intro-shell h2 {
  max-width: 850px;
  margin: 14px auto 0;
  color: var(--navy);
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.center-intro-shell > p:not(.section-kicker) {
  max-width: 720px;
  margin: 24px auto 0;
  color: #5f6b7e;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

.shared-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 44px;
}

.shared-principles > span {
  display: grid;
  min-width: 0;
  padding: 20px 14px;
  border: 1px solid rgba(16, 23, 53, 0.07);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 13px 30px rgba(37, 49, 78, 0.055);
}

.shared-principles i {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  place-items: center;
  color: var(--violet);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(88, 217, 232, 0.14), rgba(120, 104, 242, 0.1));
  font-style: normal;
}

.shared-principles strong {
  margin-top: 10px;
  color: #263149;
  font-size: 13px;
}

.shared-principles small {
  margin-top: 4px;
  color: #8b94a3;
  font-size: 9px;
  white-space: nowrap;
}

.product-detail-section {
  position: relative;
  scroll-margin-top: 144px;
  padding: 126px 0;
  background: #fff;
  overflow: hidden;
}

.product-detail-section:nth-of-type(2n) {
  background: #f4f7fa;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(430px, 0.83fr) minmax(570px, 1.17fr);
  align-items: center;
  gap: 88px;
}

.reverse-detail-shell {
  grid-template-columns: minmax(570px, 1.17fr) minmax(430px, 0.83fr);
}

.detail-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--violet);
  border: 1px solid rgba(120, 104, 242, 0.16);
  border-radius: 14px;
  background: rgba(120, 104, 242, 0.06);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-detail-type {
  margin: 20px 0 0;
  color: #6f61db;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.product-detail-copy h2 {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--navy);
  font-size: clamp(43px, 4.5vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.detail-lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: #5f6b7f;
  font-size: 15px;
  line-height: 1.9;
  text-wrap: pretty;
}

.detail-feature-list {
  display: grid;
  gap: 15px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.detail-feature-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.detail-feature-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #5d52cb;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(88, 217, 232, 0.13), rgba(120, 104, 242, 0.09));
  font-size: 8px;
  font-weight: 900;
}

.detail-feature-list strong {
  display: block;
  color: #263149;
  font-size: 13px;
}

.detail-feature-list p {
  margin: 5px 0 0;
  color: #778195;
  font-size: 11px;
  line-height: 1.65;
  text-wrap: pretty;
}

.detail-audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
}

.detail-audience span {
  margin-right: 3px;
  color: #929baa;
  font-size: 9px;
}

.detail-audience strong {
  padding: 7px 10px;
  color: #5f6a7e;
  border: 1px solid rgba(16, 23, 53, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  white-space: nowrap;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 31px;
}

.detail-text-link {
  color: #545f73;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.product-detail-visual {
  position: relative;
  min-height: 650px;
}

.product-detail-visual > figure {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 1px solid rgba(16, 23, 53, 0.08);
  border-radius: 34px;
  background: #0e1939;
  box-shadow: 0 38px 86px rgba(33, 43, 76, 0.22);
  overflow: hidden;
}

.product-detail-visual > figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 17, 40, 0.82));
  pointer-events: none;
}

.product-detail-visual > figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-detail-visual:hover > figure img {
  transform: scale(1.025);
}

.product-detail-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 27px;
  bottom: 25px;
  left: 27px;
}

.product-detail-visual figcaption span,
.product-detail-visual figcaption strong {
  display: block;
  color: #fff;
}

.product-detail-visual figcaption span {
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.product-detail-visual figcaption strong {
  margin-top: 7px;
  font-size: 17px;
  text-wrap: balance;
}

.detail-ui-card,
.detail-stat-card,
.detail-score-card,
.detail-reminder-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 55px rgba(22, 32, 61, 0.2);
  backdrop-filter: blur(18px);
}

.word-ui-card {
  top: 40px;
  left: -42px;
  width: 230px;
  padding: 20px;
  border-radius: 22px;
  transform: rotate(-3deg);
}

.word-ui-card > span {
  color: var(--violet);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.word-ui-card > button {
  float: right;
  color: var(--cyan);
  border: 0;
  background: transparent;
}

.word-ui-card > strong,
.word-ui-card > small,
.word-ui-card > b {
  display: block;
}

.word-ui-card > strong {
  margin-top: 18px;
  color: #17213b;
  font-family: Georgia, serif;
  font-size: 34px;
}

.word-ui-card > small {
  color: #7e8798;
  font-family: Georgia, serif;
  font-size: 10px;
}

.word-ui-card > p {
  margin: 18px 0 0;
  padding: 9px;
  color: #5f53c9;
  border-radius: 9px;
  background: rgba(120, 104, 242, 0.07);
  font-family: Georgia, serif;
  font-size: 10px;
}

.word-ui-card > b {
  margin-top: 10px;
  color: #465268;
  font-size: 10px;
}

.word-ui-card > div {
  height: 5px;
  margin-top: 16px;
  border-radius: 99px;
  background: #e5e8ee;
  overflow: hidden;
}

.word-ui-card > div i {
  display: block;
  width: var(--detail-progress);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.detail-stat-card {
  right: -25px;
  bottom: 56px;
  width: 158px;
  padding: 17px;
  border-radius: 18px;
}

.detail-stat-card span,
.detail-stat-card strong,
.detail-stat-card small,
.detail-score-card span,
.detail-score-card strong,
.detail-score-card small,
.detail-reminder-card span,
.detail-reminder-card strong,
.detail-reminder-card small {
  display: block;
}

.detail-stat-card span,
.detail-score-card span,
.detail-reminder-card span {
  color: #758094;
  font-size: 8px;
}

.detail-stat-card strong,
.detail-score-card strong,
.detail-reminder-card strong {
  margin-top: 4px;
  color: #18223a;
  font-size: 30px;
}

.detail-stat-card small,
.detail-score-card small,
.detail-reminder-card small {
  margin-top: 5px;
  color: #3c9c82;
  font-size: 7px;
}

.audio-ui-card {
  right: -36px;
  bottom: 42px;
  width: 340px;
  padding: 19px;
  border-radius: 21px;
  transform: rotate(2deg);
}

.audio-ui-card > div:first-child span {
  color: #29344d;
  font-size: 11px;
}

.audio-ui-card > div:first-child small {
  color: #969eab;
  font-size: 8px;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 48px;
  margin-top: 8px;
}

.mini-wave i {
  width: 5px;
  height: 18px;
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.mini-wave i:nth-child(3n) { height: 38px; }
.mini-wave i:nth-child(4n) { height: 28px; }
.mini-wave i:nth-child(7n) { height: 45px; }

.audio-ui-card > button {
  display: grid;
  width: 37px;
  height: 37px;
  margin: -2px auto 9px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--violet));
}

.audio-ui-card > p {
  margin: 0;
  text-align: center;
}

.audio-ui-card p strong,
.audio-ui-card p small {
  display: block;
}

.audio-ui-card p strong {
  color: #334059;
  font-family: Georgia, serif;
  font-size: 9px;
}

.audio-ui-card p small {
  margin-top: 3px;
  color: #7d8799;
  font-size: 8px;
}

.detail-score-card {
  top: 36px;
  left: -24px;
  width: 132px;
  padding: 16px;
  border-radius: 17px;
}

.detail-score-card strong { color: var(--violet); }

.calendar-ui-card {
  right: -30px;
  bottom: 34px;
  left: 36px;
  padding: 17px;
  border-radius: 21px;
}

.calendar-ui-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calendar-ui-card header span {
  color: #47536b;
  font-size: 10px;
  font-weight: 800;
}

.calendar-ui-card header strong {
  color: #8a93a3;
  font-size: 8px;
}

.calendar-ui-card > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 13px;
}

.calendar-ui-card i {
  min-height: 77px;
  padding: 8px;
  color: #778195;
  border-radius: 10px;
  background: #f2f5f8;
  font-size: 8px;
  font-style: normal;
}

.calendar-ui-card i small {
  display: block;
  margin-top: 16px;
  padding: 6px;
  color: #277f6d;
  border-radius: 7px;
  background: rgba(124, 230, 186, 0.27);
  font-size: 7px;
  text-wrap: balance;
}

.calendar-ui-card i.today {
  color: #fff;
  background: var(--violet);
}

.calendar-ui-card i.today small {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-reminder-card {
  top: 43px;
  left: -27px;
  width: 154px;
  padding: 17px;
  border-radius: 18px;
}

.detail-reminder-card strong { font-size: 26px; }

.dark-detail {
  color: #fff;
  background: #08122a !important;
}

.dark-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(88, 217, 232, 0.032) 1px, transparent 1px), linear-gradient(90deg, rgba(88, 217, 232, 0.032) 1px, transparent 1px);
  background-size: 50px 50px;
}

.detail-dark-glow {
  position: absolute;
  right: -190px;
  bottom: -240px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 104, 242, 0.22), transparent 68%);
}

.dark-detail .product-detail-shell {
  position: relative;
  z-index: 2;
}

.dark-detail .detail-number {
  color: var(--mint);
  border-color: rgba(124, 230, 186, 0.2);
  background: rgba(124, 230, 186, 0.06);
}

.dark-detail .product-detail-type { color: var(--mint); }
.dark-detail .product-detail-copy h2 { color: #fff; }
.dark-detail .detail-lead { color: rgba(224, 235, 252, 0.67); }
.dark-detail .detail-feature-list strong { color: #fff; }
.dark-detail .detail-feature-list p { color: rgba(220, 232, 249, 0.53); }
.dark-detail .detail-feature-list li > span { color: var(--mint); background: rgba(124, 230, 186, 0.08); }
.dark-detail .detail-audience span { color: rgba(223, 234, 250, 0.46); }
.dark-detail .detail-audience strong { color: rgba(242, 247, 255, 0.76); border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.045); }

.detail-light-button {
  color: #0e1730;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
}

.light-link { color: rgba(236, 243, 255, 0.72); }

.orbit-card {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 72px;
  height: 84px;
  place-content: center;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(11, 24, 57, 0.86);
  box-shadow: 0 16px 35px rgba(0, 4, 20, 0.32);
  backdrop-filter: blur(12px);
  font-size: 20px;
}

.orbit-card span {
  display: block;
  margin-top: 6px;
  color: var(--mint);
  font-size: 8px;
}

.orbit-math { top: 38px; left: -22px; transform: rotate(-5deg); }
.orbit-science { top: 120px; right: -22px; transform: rotate(6deg); }
.orbit-language { bottom: 37px; left: 20px; transform: rotate(3deg); }

.anime-detail-play {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(7, 17, 40, 0.58);
  box-shadow: 0 15px 35px rgba(0, 4, 20, 0.3);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.story-step {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(7, 17, 40, 0.68);
  backdrop-filter: blur(12px);
}

.story-step span {
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
}

.story-step strong { font-size: 10px; }
.step-question { top: 34px; right: -18px; }
.step-transfer { bottom: 45px; left: -25px; }

.custom-flow-card {
  position: absolute;
  z-index: 5;
  right: -36px;
  bottom: 34px;
  left: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(21, 31, 61, 0.2);
  backdrop-filter: blur(16px);
}

.custom-flow-card span,
.custom-flow-card strong {
  padding: 9px 10px;
  color: #5d687c;
  border-radius: 9px;
  background: #f1f4f8;
  font-size: 9px;
  white-space: nowrap;
}

.custom-flow-card strong {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.custom-flow-card i {
  color: #9aa2b0;
  font-size: 9px;
  font-style: normal;
}

.product-center-cta {
  padding: 94px 0;
  color: #fff;
  background: linear-gradient(125deg, #111e46, #172d66 48%, #382d81);
}

.product-cta-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 29px;
}

.product-cta-shell h2 {
  max-width: 900px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

@media (max-width: 1260px) {
  .products-hero-shell,
  .product-detail-shell,
  .reverse-detail-shell {
    gap: 55px;
  }

  .products-hero-shell {
    grid-template-columns: minmax(390px, 0.82fr) minmax(520px, 1.18fr);
  }

  .product-detail-shell {
    grid-template-columns: minmax(390px, 0.85fr) minmax(500px, 1.15fr);
  }

  .reverse-detail-shell {
    grid-template-columns: minmax(500px, 1.15fr) minmax(390px, 0.85fr);
  }

  .product-anchor-rail a {
    font-size: 10px;
  }
}

@media (max-width: 1020px) {
  .header-star-mark { display: none; }
  .products-hero { min-height: auto; }
  .products-hero-shell,
  .product-detail-shell,
  .reverse-detail-shell {
    grid-template-columns: 1fr;
  }

  .products-hero-copy {
    max-width: 850px;
  }

  .product-universe-board {
    min-height: 580px;
  }

  .product-anchor-rail {
    top: 74px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product-anchor-rail::-webkit-scrollbar { display: none; }
  .product-anchor-rail .section-shell { width: max-content; min-width: 100%; grid-template-columns: repeat(6, minmax(150px, 1fr)); }
  .product-anchor-rail a { padding: 0 14px; }
  .product-detail-copy { order: 1; }
  .product-detail-visual { order: 2; width: min(820px, 100%); margin: 15px auto 0; }
  .reverse-detail-shell .product-detail-visual { order: 2; }
  .reverse-detail-shell .product-detail-copy { order: 1; }
  .product-detail-copy h2 { max-width: 800px; }
  .detail-lead { max-width: 850px; }
  .detail-feature-list { grid-template-columns: repeat(3, 1fr); }
  .detail-feature-list li { grid-template-columns: 32px minmax(0, 1fr); }
  .product-cta-shell { grid-template-columns: auto 1fr; }
  .product-cta-shell .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .products-hero { padding-top: 132px; }
  .products-hero-copy h1 { font-size: clamp(43px, 11vw, 64px); }
  .products-hero-copy > p:not(.section-kicker) { font-size: 14px; }
  .product-universe-board { min-height: 510px; border-radius: 28px; }
  .product-universe-board > svg { opacity: 0.6; }
  .universe-brand-core { width: 150px; height: 150px; }
  .universe-brand-core img { width: 60px; height: 60px; }
  .universe-product { min-width: 112px; padding: 10px; }
  .universe-product strong { font-size: 9px; }
  .up-vocab { top: 7%; left: 4%; }
  .up-listen { top: 7%; right: 4%; }
  .up-schedule { top: 45%; right: 1%; }
  .up-custom { top: 45%; left: 1%; }
  .up-cards { right: 6%; bottom: 6%; }
  .up-anime { left: 6%; bottom: 6%; }
  .product-center-intro,
  .product-detail-section { padding-top: 90px; padding-bottom: 90px; }
  .center-intro-shell h2,
  .product-detail-copy h2 { font-size: clamp(36px, 9vw, 50px); }
  .shared-principles { grid-template-columns: 1fr 1fr; }
  .detail-feature-list { grid-template-columns: 1fr; }
  .product-detail-visual { min-height: 560px; }
  .word-ui-card { left: 12px; }
  .audio-ui-card,
  .calendar-ui-card,
  .custom-flow-card { right: 12px; }
  .detail-stat-card { right: 12px; }
  .detail-score-card,
  .detail-reminder-card,
  .orbit-math,
  .step-transfer { left: 12px; }
  .orbit-science,
  .step-question { right: 12px; }
  .custom-flow-card { left: 12px; overflow-x: auto; }
  .product-cta-shell { grid-template-columns: 1fr; text-align: center; }
  .product-cta-shell > img { margin: 0 auto; }
  .product-cta-shell .button { grid-column: auto; justify-self: center; }
}

@media (max-width: 520px) {
  .products-hero-actions,
  .detail-actions { align-items: stretch; flex-direction: column; }
  .products-hero-actions .button,
  .detail-actions .button { justify-content: center; width: 100%; }
  .detail-text-link { padding: 10px 0; text-align: center; }
  .product-universe-board { min-height: 620px; }
  .universe-brand-core { width: 140px; height: 140px; }
  .up-vocab { top: 4%; left: 50%; transform: translateX(-50%); }
  .up-vocab:hover { transform: translateX(-50%) translateY(-4px); }
  .up-listen { top: 22%; right: 5%; }
  .up-custom { top: 22%; left: 5%; }
  .up-schedule { top: auto; right: 5%; bottom: 22%; }
  .up-anime { top: auto; bottom: 22%; left: 5%; }
  .up-cards { right: auto; bottom: 4%; left: 50%; transform: translateX(-50%); }
  .up-cards:hover { transform: translateX(-50%) translateY(-4px); }
  .shared-principles { gap: 8px; }
  .shared-principles > span { padding: 17px 8px; }
  .shared-principles small { white-space: normal; text-wrap: balance; }
  .product-detail-visual { min-height: 470px; }
  .product-detail-visual > figure { border-radius: 24px; }
  .word-ui-card { top: 17px; width: 190px; padding: 14px; }
  .word-ui-card > strong { font-size: 28px; }
  .detail-stat-card { bottom: 20px; }
  .audio-ui-card { bottom: 18px; left: 18px; width: auto; }
  .calendar-ui-card { bottom: 16px; left: 12px; }
  .calendar-ui-card i:nth-child(2),
  .calendar-ui-card i:nth-child(4) { display: none; }
  .calendar-ui-card > div { grid-template-columns: repeat(3, 1fr); }
  .custom-flow-card { bottom: 15px; }
  .custom-flow-card i { display: none; }
  .custom-flow-card span,
  .custom-flow-card strong { flex: 0 0 auto; }
  .orbit-card { width: 62px; height: 72px; }
  .anime-detail-play { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail-visual > figure img,
  .universe-product { transition: none; }
}
