@charset "UTF-8";
:root {
  /* Shared runtime values for CSS and JavaScript; media queries retain Sass. */
  --ad-breakpoint-mobile: 480px;
  --ad-breakpoint-768: 768px;
  --ad-breakpoint-nav: 1024px;
  --ad-breakpoint-1200: 1200px;
  --ad-breakpoint-wide: 1440px;
  --ad-breakpoint-1600: 1600px;
  --ad-color-brand: #006fae;
  --ad-color-brand-strong: #250188;
  --ad-color-surface-tint: #e2ecf2;
  --ad-color-brand-alt: #246fbe;
  --ad-color-text: #333;
  --ad-color-muted: #666;
  --ad-color-border: #b2b2b2;
  --ad-color-danger: #d93025;
  --ad-color-success: #218838;
  --ad-color-member-error: #d32f2f;
  --ad-color-member-success: #1b5e20;
  --ad-font-family-sans: Noto Sans TC, sans-serif;
  --ad-font-family-display: Poppins, sans-serif;
  --ad-space-1: 0.25rem;
  --ad-space-2: 0.5rem;
  --ad-space-3: 0.75rem;
  --ad-space-4: 1rem;
  --ad-space-5: 1.25rem;
  --ad-space-6: 1.5rem;
  --ad-space-8: 2rem;
  --ad-space-10: 2.5rem;
  --ad-space-12: 3rem;
  --ad-radius-control: 4px;
  --ad-radius-panel: 20px;
  --ad-radius-pill: 999px;
  --ad-shadow-panel: 0 12px 32px rgba(37, 1, 136, 0.1);
  --ad-motion-standard: 0.3s ease;
  --ad-content-wide: 1690px;
  --ad-content-member: 1200px;
  --ad-content-form: 720px;
}

.carousel-viewport {
  position: relative;
  display: flow-root;
  min-width: 0;
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control,
.carousel-viewport > .carousel-control {
  --home-arrow-background: #006fae;
  --home-arrow-foreground: #fff;
  background: transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--carousel-control-size, 44px);
  height: var(--carousel-control-size, 44px);
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  z-index: 2;
}
:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control svg,
.carousel-viewport > .carousel-control svg {
  display: none;
}
:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control::before, :where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control::after,
.carousel-viewport > .carousel-control::before,
.carousel-viewport > .carousel-control::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control::before,
.carousel-viewport > .carousel-control::before {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--home-arrow-background);
  box-shadow: var(--home-arrow-shadow, none);
}
:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control::after,
.carousel-viewport > .carousel-control::after {
  width: 16px;
  height: 18px;
  border: 0;
  background: var(--home-arrow-foreground);
  clip-path: polygon(12% 0, 100% 50%, 12% 100%);
}
:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control.white-arrow,
.carousel-viewport > .carousel-control.white-arrow {
  --home-arrow-background: #fff;
  --home-arrow-foreground: #006fae;
  --home-arrow-shadow: 0 3px 9px rgb(0 0 0 / 18%);
}
:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control:focus-visible,
.carousel-viewport > .carousel-control:focus-visible {
  outline: 2px solid var(--ad-color-brand);
  outline-offset: 3px;
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control::after,
.carousel-viewport > .carousel-control::after {
  margin: 0;
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control[hidden],
.carousel-viewport > .carousel-control[hidden] {
  display: none;
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-control:disabled,
.carousel-viewport > .carousel-control:disabled {
  opacity: 0.35;
  cursor: default;
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-prev,
.carousel-viewport > .carousel-prev {
  left: var(--carousel-control-inset, -22px);
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-prev::after,
.carousel-viewport > .carousel-prev::after {
  transform: translate(-50%, -50%) scaleX(-1);
}

:where(.index_page) :where([data-home-carousel]) .carousel-viewport > .carousel-next,
.carousel-viewport > .carousel-next {
  right: var(--carousel-control-inset, -22px);
}

[data-carousel-footer] > [hidden] {
  display: none;
}

/* ==========================================================================
   product-card
   ========================================================================== */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 0.5em;
}

.product-tags[hidden] {
  display: none;
}

.product-tag {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.product-tag::before {
  content: "#";
}

.product-tag[data-cust-tag=下殺3折],
.product-tag[data-cust-tag=限時優惠],
.product-tag[data-cust-tag=限時開跑],
.product-tag[data-cust-tag="6折特惠"] {
  color: var(--ad-color-danger);
  font-weight: 700;
}

.product-card > .add-shopcart {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 16px;
  border: 0;
  border-radius: 0 0 20px 20px;
  background-color: var(--ad-color-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.product-card > .add-shopcart:focus-visible {
  outline: 3px solid var(--ad-color-brand-strong);
  outline-offset: 3px;
}

.product-card .product-content {
  padding: 20px 20px 20px;
}

.product-card > a {
  overflow: hidden;
  width: 100%;
  display: block;
}

.product-card > a > img {
  border-radius: 20px 20px 0 0;
  transition: 0.6s;
  width: 100%;
}

.product-card .category {
  color: var(--ad-color-brand);
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(16px, 0.9375vw, 18px);
}

.product-card .product-title {
  font-size: clamp(20px, 1.3541666667vw, 26px);
  letter-spacing: 0.2em;
  font-weight: 400;
  min-height: 125px;
}

.product-card .product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.5;
  word-break: break-all;
  transition: 0.6s;
}

.product-card .product-price {
  display: flex;
  justify-content: space-between;
  line-height: 1;
}
.product-card .product-price .price {
  font-size: clamp(28px, 1.875vw, 36px);
  color: var(--ad-color-brand-strong);
  font-family: Arial, Helvetica, sans-serif;
}
.product-card .product-price .del {
  font-size: 18px;
  color: var(--ad-color-muted);
  text-decoration: line-through;
}

.product-card .product-price .add-shopcart {
  padding: 0;
}

.product-card .product-price .add-shopcart svg {
  fill: var(--ad-color-brand);
  transition: 0.6s;
  width: clamp(35px, 2.0833333333vw, 40px);
  aspect-ratio: 1;
}

.product-card .product-price .add-shopcart svg:hover {
  fill: var(--ad-color-brand-strong);
  transition: 0.6s;
}

.product-card:hover a {
  color: var(--ad-color-brand-strong);
  transition: 0.6s;
}

.product-card:hover a > img {
  transform: scale(1.1);
  transition: 0.6s;
}

.product-card.product-card--store {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #ccc;
  border-radius: var(--ad-radius-panel);
  background: #fff;
  box-shadow: 0 2px 6px rgba(37, 1, 136, 0.12);
}

.product-card.product-card--store > a {
  flex-shrink: 0;
  border-radius: var(--ad-radius-panel) var(--ad-radius-panel) 0 0;
}

.product-card.product-card--store > a > img {
  display: block;
  height: auto;
}

.product-card.product-card--store .product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 12px 12px;
}

.product-card.product-card--store .category {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.product-card.product-card--store .product-title {
  min-height: 0;
  margin: 0 0 12px;
  font-size: clamp(20px, 1.3541666667vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.product-card.product-card--store .product-title a {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-card.product-card--store .product-price {
  margin-top: auto;
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-card.product-card--store .product-price .price {
  margin: 0;
  overflow-wrap: anywhere;
}

.product-card.product-card--store .product-link {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.product-card.product-card--store .product-link a {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  border: 1px solid var(--ad-color-border);
  border-radius: var(--ad-radius-control);
  color: var(--ad-color-muted);
  font-size: 1.125rem;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.product-card.product-card--store .product-link a:only-child {
  grid-column: 1/-1;
}

.product-card.product-card--store .product-link a.js-product-free-link {
  border-color: var(--ad-color-brand);
  color: var(--ad-color-brand);
}

.product-card.product-card--store .product-link a:hover {
  background: var(--ad-color-surface-tint);
}

.product-card.product-card--store .product-link a:focus-visible {
  outline: 3px solid var(--ad-color-brand-strong);
  outline-offset: 3px;
}

.product-card.product-card--store > .add-shopcart {
  margin-top: 0;
  font-size: 1.125rem;
  letter-spacing: 0;
}

@media (max-width: 767px) {
  .product-card.product-card--store .product-content {
    padding: 12px 6px 8px;
  }

  .product-card.product-card--store .product-link a {
    font-size: 1rem;
  }

  .product-card.product-card--store > .add-shopcart {
    padding: 10px 4px;
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
.product-card a,
.product-card img,
.product-card svg {
    transition-duration: 0.01ms !important;
  }
}
.price .discount-badge {
  display: inline-block;
  padding: 0.2em 0.5em;
  border-radius: 0.3em;
  background: var(--ad-color-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  white-space: nowrap;
  vertical-align: middle;
}

.price .discount-badge[hidden] {
  display: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #09145a;
  font: 1rem/1.5 system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:where(a, button):focus-visible {
  outline: 3px solid #a85600;
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

header,
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

header {
  justify-content: space-between;
  gap: 1rem;
  padding: 2% 2% 2% 4%;
  font-weight: 750;
}

header img {
  width: clamp(8rem, 15vw, 15rem);
}

header nav {
  justify-content: center;
  gap: clamp(0.8rem, 3.5vw, 3.5rem);
  font-size: clamp(1rem, 0.7rem + 1vw, 1.55rem);
}

.button {
  display: inline-block;
  padding: 0.43em 1.35em;
  border: 0;
  border-radius: 2em;
  background: linear-gradient(#007bff, #004ddf);
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

main {
  max-width: 120rem;
  margin: auto;
}

main {
  display: flex;
  flex-direction: column;
}

main > h1 img,
picture img {
  width: 100%;
}

.phone-tools,
.phone-label,
.trial-thumb,
.mobile-all {
  display: none;
}

em {
  position: relative;
  display: inline-block;
  font-style: normal;
  text-decoration: underline #ffd100;
  text-underline-offset: 0.12em;
}

.preview {
  text-align: center;
  padding: 2.6% 0 3.2%;
  background: #dfedfa url("./preview-background.d09f517ff16e.webp") center/cover;
  border-block: 0.55rem solid white;
}

h2 {
  font-size: clamp(1.75rem, 0.65rem + 3vw, 4.3rem);
}

.preview h2 {
  color: #101010;
  font-weight: 900;
  font-size: clamp(1.85rem, 0.8rem + 3.4vw, 4.6rem);
}

.preview h2 em {
  color: #09145a;
}

.preview h2 em::before {
  content: "";
  position: absolute;
  top: -0.45em;
  right: -0.62em;
  width: 0.8em;
  height: 0.8em;
  background: linear-gradient(108deg, transparent 40%, #ffcf00 41% 60%, transparent 61%) 0 0/35% 50%, linear-gradient(143deg, transparent 40%, #ffcf00 41% 60%, transparent 61%) 72% 30%/45% 36%, linear-gradient(175deg, transparent 40%, #ffcf00 41% 60%, transparent 61%) 100% 84%/47% 22%;
  background-repeat: no-repeat;
}

.preview > p {
  margin: 0.5em 0 1.1em;
  font-size: clamp(1rem, 0.55rem + 1.4vw, 2rem);
  letter-spacing: 0.06em;
}

.preview-grid {
  width: 96.5%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.26fr 1fr;
  align-items: stretch;
  gap: 1%;
  text-align: start;
}

figure,
.panel {
  min-width: 0;
  padding: clamp(0.5rem, 0.85vw, 1rem);
  background: #fcfdff;
  border: 1px solid #a6d6ff;
  border-radius: 0.95rem;
  box-shadow: 0 0.35rem 0.85rem rgba(66, 159, 251, 0.2509803922);
}

figure {
  grid-column: 1;
  grid-row: 1;
}

figure:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.trial-player {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 0.5rem;
}

figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: auto;
  padding: 0.25em 0.4em 0;
  font-weight: 750;
  font-size: clamp(1rem, 0.5rem + 1.45vw, 2rem);
}

.trial-intro {
  margin-inline-start: auto;
  padding: 0.45em 0.9em;
  border: 1px solid currentColor;
  border-radius: 2rem;
  color: #0065ed;
  font-size: 1rem;
}

.panel {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

.panel h3 {
  font-size: clamp(1.35rem, 0.55rem + 1.9vw, 2.8rem);
}

.panel p,
.trial small {
  font-size: clamp(0.95rem, 0.55rem + 1.15vw, 1.65rem);
}

.trial-list:not([hidden]) {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(3, minmax(3.4em, 1fr));
  gap: 0.4em;
}

.panel nav {
  gap: 0.35rem;
  margin: 0.6em 0;
}

.pill {
  flex: 1;
  text-align: center;
  border: 1px solid #0065ed;
  border-radius: 2rem;
  padding: 0.2em;
  font-size: clamp(1rem, 0.6rem + 1vw, 1.6rem);
  font-weight: 700;
}

.pill[aria-current],
.trial b {
  background: linear-gradient(#008dff, #0058e9);
  color: white;
}

.trial {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.3em 0.55em 0.3em 1.15em;
  border: 1px solid #a2c9f8;
  border-radius: 0.65rem;
  font-weight: 750;
  line-height: 1.3;
  font-size: clamp(1.15rem, 0.65rem + 1.72vw, 2.45rem);
}

.trial[aria-current=true],
.trial:hover,
.trial:focus-visible {
  background: #dcefff;
}

.trial[aria-current=true]::before {
  content: "";
  width: 0.3em;
  position: absolute;
  inset: 15% auto 15% 0.32em;
  border-radius: 1em;
  background: #007dfa;
}

.trial small {
  display: block;
  font-weight: 500;
}

.trial b {
  flex: none;
  border-radius: 50%;
  width: 1.85em;
  line-height: 1.85;
  text-align: center;
}

.wrap {
  width: 92%;
  margin-inline: auto;
}

#offer {
  margin-block: 1.5%;
}

#courses {
  width: 90.5%;
  margin-block: 2.8% 4.5%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

#courses h2 {
  text-align: center;
  margin-bottom: 0.5em;
}

.course-row {
  position: relative;
}

.all-courses,
.mobile-all {
  font-size: clamp(1.1rem, 0.8rem + 1vw, 2rem);
  color: #005c97;
  text-align: center;
  font-weight: 750;
  padding: 0.8em;
}

.all-courses {
  display: block;
}

.cards {
  --visible: 4;
  --gap: clamp(0.7rem, 1.5vw, 1.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--gap);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + var(--gap)) / var(--visible) - var(--gap));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-block: 0.25rem;
  color: #242424;
}

.cards > article {
  scroll-snap-align: start;
}

.course-slider.swiper-initialized .cards {
  display: flex;
  gap: 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.course-slider .swiper-slide {
  height: auto;
}

.course-controls {
  position: absolute;
  inset: 50% 0 auto;
  --carousel-control-size: clamp(1.65rem, 3vw, 3rem);
  --carousel-control-inset: calc(var(--carousel-control-size) * -0.75);
}

.paired-controls,
.course-controls[hidden] {
  display: none;
}

#courses:not(.cart-ready) .js-product-cart {
  display: none;
}

.cards output:not(:empty) {
  display: block;
  padding: 0.5rem;
}

.reviews {
  width: 94%;
  margin-bottom: 2rem;
}

@media (max-width: 74.99rem) {
  .cards {
    --visible: 2;
  }
}
@media (max-width: 48rem) {
  header {
    padding: 0.45rem 2%;
    gap: 0.4rem;
  }

  header img {
    width: clamp(6rem, 27vw, 9rem);
  }

  .wide-nav,
.wide-label,
.panel > p,
.preview > p,
.all-courses {
    display: none;
  }

  .phone-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.25rem, 1.4vw, 0.8rem);
    font-weight: 700;
  }
  .phone-tools .phone-icon {
    display: grid;
    place-items: center;
    min-width: 2rem;
    min-height: 2.75rem;
    color: #09145a;
  }
  .phone-tools svg {
    width: 1.65rem;
    height: 1.65rem;
  }
  .phone-tools small {
    display: block;
  }
  .phone-tools details {
    position: relative;
  }
  .phone-tools summary {
    list-style: none;
    padding: 0.45em 0.7em;
    background: #09145a;
    color: white;
    cursor: pointer;
  }
  .phone-tools nav {
    position: absolute;
    right: 0;
    z-index: 3;
    align-items: stretch;
    width: 10rem;
    padding: 0.5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .phone-tools nav a {
    width: 100%;
    padding: 0.35em;
  }

  .preview {
    display: grid;
    padding: 1rem 3%;
    gap: 0.75rem;
  }

  .preview-grid {
    display: contents;
  }

  .panel {
    grid-column: 1;
    grid-row: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .panel nav {
    gap: 0;
    border: 1px solid #0065ed;
    border-radius: 2rem;
    background: white;
  }

  .panel .pill {
    border: 0;
  }

  .trial-list {
    gap: 0;
    overflow: hidden;
    border: 1px solid #a2c9f8;
    border-radius: 0.65rem;
    background: white;
  }

  .trial-list:not([hidden]) {
    gap: 0;
  }

  .trial + .trial {
    border-top: 1px solid #a2c9f8;
  }

  .panel h3 {
    text-align: center;
  }

  .phone-label {
    display: inline;
  }

  .preview h2 {
    font-size: clamp(1.2rem, 0.9rem + 2vw, 2rem);
  }

  figure {
    grid-row: 3;
  }

  .trial {
    gap: 0.5rem;
    padding: 0.4rem;
    border: 0;
    border-radius: 0;
  }

  .trial:focus-visible {
    outline-offset: -3px;
  }

  .trial[aria-current=true]::before {
    inset-inline-start: 0;
  }

  .trial-thumb {
    display: block;
    width: 26%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0.35rem;
  }

  .trial b {
    margin-left: auto;
  }

  .pill {
    padding-block: 0.4em;
  }

  #courses {
    order: 1;
    margin-block: 2rem;
  }

  .course-row .course-controls {
    display: none;
  }

  .paired-controls:not([hidden]) {
    display: block;
  }

  .paired-controls {
    position: relative;
    inset: auto;
    --carousel-control-inset: calc(var(--carousel-control-size) * -0.55);
    margin-block: 0.55rem;
  }

  .mobile-all {
    display: block;
  }

  #offer {
    order: 2;
    width: 100%;
  }

  .reviews {
    order: 3;
    margin-top: 1rem;
  }
}
