/* 銷售頁補上的部分（宣傳片版沒有的）：首屏旋轉標題、價格段、常見問題、公司頁尾。
   沿用宣傳片版的色票與字（淺灰舞台、系統黑體、橘色主鍵、Tephra Outline 字標），內容取自舊站。 */

/* ── 首屏旋轉標題：「重要的事，不會忘記」＋輪播句（js/main.js） ─────── */
.hero__title--rotate {
  display: grid;
  justify-items: center;
}

.hero__line {
  display: block;
}

/* 輪播句：外層裁切，字從下面換上來；底下一道橘色螢光筆（App 選取字的顏色） */
.hero__line--rot {
  overflow: hidden;
  overflow: clip;
  margin-top: 0.02em;
  padding: 0.04em 0.14em 0.1em;
}

.rotator {
  display: inline-block;
  padding: 0 0.12em;
  background: linear-gradient(transparent 60%, var(--selection) 60%, var(--selection) 94%, transparent 94%);
}

/* ── 價格段（#buy：App 的購買連結會指到這裡） ───────────────────────── */
.buy {
  display: grid;
  justify-items: center;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--stage-line);
  scroll-margin-top: var(--nav-h);
  text-align: center;
}

.buy__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-wrap: balance;
}

.price-card {
  display: grid;
  justify-items: center;
  width: min(100%, 440px);
  padding: clamp(28px, 3.4vw, 40px) clamp(22px, 3.4vw, 40px) clamp(24px, 3vw, 34px);
  border: 1px solid var(--stage-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(30 30 40 / 0.06), 0 34px 80px -40px rgb(30 30 40 / 0.4);
}

.price-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.price-card__app {
  margin: 14px 0 0;
  font-family: var(--font-outline);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card__plan {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.price-card__num {
  margin: 18px 0 0;
  font-family: var(--font-outline);
  font-size: clamp(52px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.price-card__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.5;
  text-align: left;
}

.price-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card__actions {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 28px;
}

.price-card__actions .button {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.price-card__actions .button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.72;
}

.price-card__note {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
}

.price-card__legal {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.75;
  text-wrap: pretty;
}

.price-card__legal a {
  text-underline-offset: 3px;
}

.price-card__error {
  margin: 12px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
}

/* ── 常見問題 ───────────────────────────────────────────────────── */
.faq {
  width: min(100%, 760px);
  margin-top: clamp(16px, 3vw, 36px);
  text-align: left;
}

.faq__title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.faq details {
  border-bottom: 1px solid var(--stage-line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--stage-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.faq summary .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-2);
  transition: transform 200ms ease;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details p {
  margin: 0;
  padding: 0 4px 22px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.faq a {
  text-underline-offset: 3px;
}

/* ── 頁尾：公司資訊＋政策頁 ─────────────────────────────────────── */
.footer--company .footer__brand {
  align-items: flex-start;
}

.footer--company .footer__brand img {
  margin-top: 2px;
}

.footer__company {
  margin: 0;
  line-height: 1.75;
}

.footer__company a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.footer__dot {
  margin: 0 2px;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary .icon {
    transition: none;
  }
}
