/* =========================================================
   Base
   ========================================================= */
:root {
  --brand-red: #d81f26;
  --brand-red-dark: #9b161b;
  --gold-1: #b8913c;
  --gold-light: #eeca97;
  --brown-1: #231b13;
  --brown-1-60: rgba(35, 27, 19, 0.6);
  --brown-2: #392a0a;
  --brown-3: #6b6157;
  --brown-4: #35322c;
  --nude-1: #fffcf8;
  --nude-2: #f8f4ee;
  --nude-3: #ebe2d3;
  --white: #fff;
  --footer-bg: #1c1610;

  --font-tc: "Noto Sans TC", sans-serif;
  --font-en: "Roboto", "Noto Sans TC", sans-serif;

  --container: 1000px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 68px; }

body {
  margin: 0;
  background: var(--nude-1);
  color: var(--brown-1);
  font-family: var(--font-tc);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
/* 關閉手機、平板點擊時預設的區塊變色，以及點擊後的外框 */
* { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
hr { margin: 0; border: 0; }
b { font-weight: 700; }

/* 版面最大寬 1512，超出的部分直接裁切 */
.page {
  position: relative;
  max-width: 1512px;
  margin: 0 auto;
  overflow-x: clip;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  padding: 16px 24px;
  border-radius: 40px;
  font-size: 18px;
  line-height: 1.8;
  white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* hover：按鈕上浮＋陰影 */
@media (hover: hover) {
  .btn:hover { transform: translateY(-8px); }
  .btn--red:hover { box-shadow: 0 2px 12px rgba(216, 31, 38, .4); }
  .btn--white:hover { box-shadow: 0 2px 12px rgba(184, 145, 60, .4); }
}
.btn img { width: 24px; height: 24px; }
.btn--arrow { padding-left: 32px; }

.btn--red { background: var(--brand-red); color: var(--white); font-weight: 700; }
.btn--white { background: var(--white); color: var(--brown-1); font-weight: 500; border: 1px solid var(--gold-1); }

.btn--sm { height: 60px; width: 160px; font-size: 15px; }
.btn--sm.btn--arrow { padding: 16px 16px 16px 24px; }

.btn-group { display: flex; align-items: center; gap: 8px; }

/* =========================================================
   Section common
   ========================================================= */
.sec { position: relative; padding: 80px 0; }

.sec-divider {
  height: 1px;
  background: var(--nude-3);
  margin-bottom: 20px;
}

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  text-align: center;
  line-height: 1.5;
}
.sec-head__eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.12px;
  color: var(--gold-1);
}
.sec-head__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brown-1);
}
.sec-head__desc {
  font-size: 15px;
  color: var(--brown-3);
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(255, 255, 255, .8);
  border-bottom: 1px solid var(--nude-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
}
.header__brand { display: flex; align-items: center; gap: 8px; }
.header__logo { width: 110.5px; height: 24px; }
.header__sep { width: 1px; height: 20px; background: var(--brown-1); opacity: .2; }
.header__title { font-size: 15px; font-weight: 700; line-height: 1.8; }
.header__right { display: flex; align-self: stretch; align-items: center; gap: 48px; }
.header__nav { display: flex; align-self: stretch; gap: 48px; list-style: none; }
.header__nav a {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brown-3);
  transition: color .2s;
}
@media (hover: hover) {
  /* 光暈依設計稿為兩層橢圓，只露出 header 範圍內的上半部 */
  .header__nav a::before,
  .header__nav a::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .25s ease;
  }
  .header__nav a::before {
    top: 32px;
    width: 240px;
    height: 36px;
    background: radial-gradient(120px 60px at 50% 60px, rgba(212, 181, 108, .6), rgba(212, 181, 108, 0));
  }
  .header__nav a::after {
    top: 62px;
    width: 160px;
    height: 6px;
    background: radial-gradient(80px 20px at 50% 20px, #d4b56c, rgba(212, 181, 108, 0));
  }
  .header__nav a:hover { color: var(--brown-1); }
  .header__nav a:hover::before,
  .header__nav a:hover::after { opacity: 1; }
}
.header__cta {
  padding: 6px 20px;
  border-radius: 40px;
  background: var(--brand-red);
  filter: drop-shadow(0 2px 6px rgba(216, 31, 38, .4));
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: flex;
  justify-content: center;
  padding: 100px 32px 0;
}
.hero__card {
  position: relative;
  --hero-enter-duration: 1.2s;
  --hero-offer-delay: .35s;
  --hero-actions-delay: .68s;
  --hero-part1-end: calc(var(--hero-actions-delay) + var(--hero-enter-duration));
  --hero-num-flash-duration: .38s;
  --hero-char-duration: .44s;
  --hero-loop-shine-delay: 5.5s;
  --hero-shine-period: 6s;
  width: 1448px;
  max-width: 100%;
  height: 600px;
  /* 用 clip-path 裁到外框外緣，讓頂部標籤能蓋住上方外框，不留縫 */
  clip-path: inset(0 round 40px);
  background: #fffcf8;
  border: 1px solid var(--nude-3);
  border-radius: 40px;
}
/* 外框改由這層畫在內容之上，頂部標籤再疊在外框上面 */
.hero__card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border: 1px solid var(--nude-3);
  border-radius: inherit;
  pointer-events: none;
}
.hero__ellipse-red { position: absolute; right: -959px; top: 205px; width: 1916px; height: 788px; }
.hero__city {
  position: absolute;
  left: -1px; right: -1px;
  bottom: 355px;
  width: calc(100% + 2px);
  height: 244px;
  object-fit: cover;
  object-position: center bottom;
}
.hero__bg-shape { position: absolute; left: -1px; right: -1px; top: -1px; width: calc(100% + 2px); height: 600px; }
.hero__band {
  position: absolute;
  left: -1px; top: 205px;
  width: calc(100% + 2px);
  height: 238px;
  background: linear-gradient(to right, var(--brand-red) 27.757%, var(--brand-red-dark));
}
.hero__glow { position: absolute; left: calc(50% + 310px); top: 12px; width: 342px; height: 307px; transform: translateX(-50%); }
.hero__statue {
  position: absolute;
  right: calc(-104px + (100% - 1136px) * 0.7436); bottom: -1px;
  width: 553px; height: 600px;
  overflow: hidden;
}
.hero__statue img { position: absolute; left: -0.07%; top: 0; width: 100.06%; height: 156.96%; }

.hero__content {
  position: absolute;
  left: -1px; bottom: -1px;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(40px + (100% - 1136px) * 0.2564) 56px;
}

.hero__tab {
  position: relative;
  z-index: 2;
  width: 320px;
  padding: 8px 40px;
  display: flex;
  justify-content: center;
  border-radius: 0 0 24px 24px;
  background: radial-gradient(ellipse 160px 197px at 50% 50%, #d8b561, #aa8553);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  white-space: nowrap;
}
.hero__tab-corner { position: absolute; top: 0; width: 20px; height: 20px; }
.hero__tab-corner--l { left: -20px; }
.hero__tab-corner--r { right: -20px; transform: scaleX(-1); }

.hero__main { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 598px; }
.hero__title {
  display: flex;
  gap: 16px;
  padding: 8px 10px;
  width: 598px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1.92px;
  white-space: nowrap;
}
.hero__title span {
  background: linear-gradient(to top, var(--brown-2) 36.166%, var(--brown-1) 108.6%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__offer { display: flex; align-items: flex-end; width: 100%; }
.hero__num { width: 151px; height: 240px; object-fit: cover; }
.hero__offer-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  padding: 42px 16px 16px;
}
.hero__limited { position: relative; padding: 0 12px; }
.hero__limited img { width: 190.83px; height: 36px; }

.hero__amount { position: relative; width: 389.25px; height: 120px; }
.hero__wan, .hero__fee { position: absolute; }
.hero__wan { left: 0; top: 0; width: 237.08px; height: 120px; }
.hero__wan img { position: absolute; left: 0; top: 0; }
.hero__wan .hero__wan-1 { left: 1.62px; top: 1.9px; }
.hero__fee { left: 246.71px; top: 58.07px; width: 142.54px; height: 60px; }
.hero__fee img { position: absolute; left: 0; top: 0; }
.hero__fee .hero__fee-1 { left: 2.27px; top: 1.29px; }


/*
 * 首屏進場共分三區，三區時長相同、起點彼此錯開半個時長：
 * 1. 背景／主視覺／標題；2.「1 萬元」；3. CTA。
 * 三區全部完成後：數字 1 先由左至右閃光，再逐字把優惠文字由單色切換成漸層，
 * 每個字同時帶一個右移、回左消失的殘影。循環斜向閃光走獨立時間軸。
 */
.hero__city,
.hero__m-bg {
  animation: hero-city-in var(--hero-enter-duration) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__bg-shape,
.hero__band,
.hero__glow,
.hero__m-ellipse-11,
.hero__m-fade {
  animation: hero-surface-in var(--hero-enter-duration) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__statue,
.hero__m-flag {
  animation: hero-statue-in var(--hero-enter-duration) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__tab {
  animation: hero-tab-in var(--hero-enter-duration) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__title {
  animation: hero-title-in var(--hero-enter-duration) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__offer {
  transform-origin: 50% 55%;
  transform: translate(0, 0);
  animation: hero-offer-in var(--hero-enter-duration) var(--hero-offer-delay) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__actions {
  animation: hero-actions-in var(--hero-enter-duration) var(--hero-actions-delay) cubic-bezier(.22, .61, .36, 1) both;
}
.hero__num-wrap { position: relative; display: block; }
.hero__num-intro-shine {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  filter: brightness(1.85) saturate(.65);
  -webkit-mask: linear-gradient(90deg, transparent 25%, #000 50%, transparent 75%) -80% 0 / 55% 100% no-repeat;
  mask: linear-gradient(90deg, transparent 25%, #000 50%, transparent 75%) -80% 0 / 55% 100% no-repeat;
  animation: hero-num-intro-shine var(--hero-num-flash-duration) var(--hero-part1-end) ease-in-out both;
}
.hero__special-chars {
  --hero-char-art: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__special-chars--wan {
  --hero-char-art: url("../assets/hero-txt-wan-c.svg");
  inset: 0 auto auto 0;
  width: 235.464px;
  height: 118.098px;
}
.hero__special-chars--fee {
  --hero-char-art: url("../assets/hero-txt-fee-c.svg");
  inset: 0 auto auto 0;
  width: 141.138px;
  height: 58.887px;
}
.hero__special-chars--m-wan {
  --hero-char-art: url("../assets/m-hero-txt-wan-c.svg");
  inset: 0 auto auto 0;
  width: 126.407px;
  height: 59.131px;
}
.hero__special-chars--m-fee {
  --hero-char-art: url("../assets/m-hero-txt-fee.svg");
  inset: 66.3px auto auto .05px;
  width: 132.813px;
  height: 15px;
}
.hero__special-char,
.hero__special-char::before,
.hero__special-char::after {
  position: absolute;
  inset: 0;
  display: block;
}
.hero__special-char::before,
.hero__special-char::after {
  content: "";
  background: var(--hero-char-art) 0 0 / 100% 100% no-repeat;
  clip-path: var(--hero-char-clip);
  animation-delay: calc(var(--hero-part1-end) + var(--hero-num-flash-duration) + var(--hero-char-delay, 0s));
  animation-duration: var(--hero-char-duration);
  animation-fill-mode: both;
}
.hero__special-char::before {
  z-index: 1;
  animation-name: hero-char-colorize;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
.hero__special-char::after {
  z-index: 0;
  animation-name: hero-char-echo;
  animation-timing-function: linear;
}
.hero__special-char:nth-child(1) { --hero-char-delay: 0s; }
.hero__special-char:nth-child(2) { --hero-char-delay: .1s; }
.hero__special-char:nth-child(3) { --hero-char-delay: .2s; }
.hero__special-char:nth-child(4) { --hero-char-delay: .3s; }
.hero__special-char:nth-child(5) { --hero-char-delay: .4s; }
.hero__special-char:nth-child(6) { --hero-char-delay: .5s; }
.hero__special-char:nth-child(7) { --hero-char-delay: .6s; }
.hero__special-char:nth-child(8) { --hero-char-delay: .7s; }
.hero__special-chars--wan .hero__special-char:nth-child(1),
.hero__special-chars--m-wan .hero__special-char:nth-child(1) { --hero-char-clip: inset(0 50% 0 0); }
.hero__special-chars--wan .hero__special-char:nth-child(2),
.hero__special-chars--m-wan .hero__special-char:nth-child(2) { --hero-char-clip: inset(0 0 0 50%); }
.hero__special-chars--fee .hero__special-char:nth-child(1) { --hero-char-clip: inset(0 80% 50% 0); --hero-char-delay: .2s; }
.hero__special-chars--fee .hero__special-char:nth-child(2) { --hero-char-clip: inset(0 60% 50% 20%); --hero-char-delay: .3s; }
.hero__special-chars--fee .hero__special-char:nth-child(3) { --hero-char-clip: inset(0 40% 50% 40%); --hero-char-delay: .4s; }
.hero__special-chars--fee .hero__special-char:nth-child(4) { --hero-char-clip: inset(0 20% 50% 60%); --hero-char-delay: .5s; }
.hero__special-chars--fee .hero__special-char:nth-child(5) { --hero-char-clip: inset(0 0 50% 80%); --hero-char-delay: .6s; }
.hero__special-chars--fee .hero__special-char:nth-child(6) { --hero-char-clip: inset(50% 80% 0 0); --hero-char-delay: .7s; }
.hero__special-chars--fee .hero__special-char:nth-child(7) { --hero-char-clip: inset(50% 60% 0 20%); --hero-char-delay: .8s; }
.hero__special-chars--fee .hero__special-char:nth-child(8) { --hero-char-clip: inset(50% 40% 0 40%); --hero-char-delay: .9s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(1) { --hero-char-clip: inset(0 87.5% 0 0); --hero-char-delay: .2s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(2) { --hero-char-clip: inset(0 75% 0 12.5%); --hero-char-delay: .3s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(3) { --hero-char-clip: inset(0 62.5% 0 25%); --hero-char-delay: .4s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(4) { --hero-char-clip: inset(0 50% 0 37.5%); --hero-char-delay: .5s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(5) { --hero-char-clip: inset(0 37.5% 0 50%); --hero-char-delay: .6s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(6) { --hero-char-clip: inset(0 25% 0 62.5%); --hero-char-delay: .7s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(7) { --hero-char-clip: inset(0 12.5% 0 75%); --hero-char-delay: .8s; }
.hero__special-chars--m-fee .hero__special-char:nth-child(8) { --hero-char-clip: inset(0 0 0 87.5%); --hero-char-delay: .9s; }
.hero__m-fee-base {
  position: absolute;
  left: .05px;
  top: 66.3px;
  width: 132.813px;
  height: 15px;
  background: #d8b561;
  -webkit-mask: url("../assets/m-hero-txt-fee.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../assets/m-hero-txt-fee.svg") 0 0 / 100% 100% no-repeat;
}
/*
 * 循環閃光：一道白光以固定速度由左到右掃過整組「1 萬元」。
 * 每個圖層用 --hero-shine-left（相對整組左緣的位置，由 JS 量）把光帶對齊到同一條掃描線上。
 */
/* 動畫只跑 0→1 的進度，實際位置在下方 calc 換算；keyframes 不引用變數，寬度改變時 JS 更新的距離才會即時生效 */
@property --hero-shine-p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}
.hero__shine {
  --hero-shine-band: 160px;
  position: absolute;
  left: 0; top: 0;
  filter: brightness(0) invert(1);
  opacity: .75;
  -webkit-mask: linear-gradient(105deg, transparent 20%, #000 50%, transparent 80%) no-repeat;
  mask: linear-gradient(105deg, transparent 20%, #000 50%, transparent 80%) no-repeat;
  -webkit-mask-size: var(--hero-shine-band) 100%;
  mask-size: var(--hero-shine-band) 100%;
  --hero-shine-x: calc(var(--hero-shine-band) * -1 + var(--hero-shine-p) * (var(--hero-shine-sweep, 600px) + var(--hero-shine-band)));
  -webkit-mask-position: calc(var(--hero-shine-x) - var(--hero-shine-left, 0px)) 0;
  mask-position: calc(var(--hero-shine-x) - var(--hero-shine-left, 0px)) 0;
  pointer-events: none;
  z-index: 2; /* 要蓋在逐字上色的圖層上面，不然萬元、手續費抵用金看不到光 */
  animation: hero-shine var(--hero-shine-period) var(--hero-loop-shine-delay) ease-in-out infinite both;
}
@keyframes hero-city-in {
  from { opacity: 0; }
}
@keyframes hero-surface-in { from { opacity: 0; } }
@keyframes hero-statue-in {
  from { opacity: 0; transform: translateX(36px); }
}
@keyframes hero-tab-in {
  from { opacity: 0; transform: translateY(-18px); }
}
@keyframes hero-title-in {
  from { opacity: 0; transform: translateX(-24px); }
}
@keyframes hero-offer-in {
  from { opacity: 0; transform: translate(-12px, 12px); }
  to { opacity: 1; transform: translate(0, 0); }
}
@keyframes hero-actions-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-num-intro-shine {
  from { -webkit-mask-position: -80% 0; mask-position: -80% 0; }
  to { -webkit-mask-position: 180% 0; mask-position: 180% 0; }
}
@keyframes hero-char-colorize {
  0%, 18% { opacity: 0; }
  62%, 100% { opacity: 1; }
}
@keyframes hero-char-echo {
  0% { opacity: .7; transform: translate3d(0, 0, 0); }
  50% { opacity: 1; transform: translate3d(10px, 0, 0); }
  100% { opacity: 0; transform: translate3d(-10px, 0, 0); }
}
@keyframes hero-shine {
  from { --hero-shine-p: 0; }
  50%, to { --hero-shine-p: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__city,
  .hero__bg-shape,
  .hero__band,
  .hero__glow,
  .hero__m-bg,
  .hero__m-ellipse-11,
  .hero__statue,
  .hero__m-flag,
  .hero__m-fade,
  .hero__tab,
  .hero__title,
  .hero__offer,
  .hero__actions,
  .hero__num-intro-shine { animation: none; }
  .hero__num-intro-shine,
  .hero__shine { display: none; }
  .hero__special-char::before { animation: none; opacity: 1; }
  .hero__special-char::after { display: none; }
}

.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__btn { width: 200px; height: 60px; }
/* 手續費率＋開戶按鈕的金色膠囊 */
.hero__deal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(to top, #f8e097 0%, #d5af68 28%, #fdfbe1 100%);
}
.hero__rate { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 4px; }
.hero__laurel { width: 23px; height: 48px; mix-blend-mode: multiply; }
.hero__laurel--r { transform: scaleX(-1); }
.hero__rate-body {
  display: grid;
  grid-template-areas: "label num" "min num";
  column-gap: 8px;
  align-items: center;
  color: #000;
}
.hero__rate-label { grid-area: label; width: 160px; margin-bottom: -5px; font-size: 16px; font-weight: 700; line-height: 1.8; text-align: center; }
.hero__rate-min { grid-area: min; display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; line-height: 1.8; white-space: nowrap; }
.hero__rate-min span { font-family: var(--font-en); font-size: 18px; font-weight: 600; line-height: 1.5; text-decoration: underline; }
.hero__rate-num { grid-area: num; font-family: var(--font-en); font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -.48px; color: var(--brand-red); white-space: nowrap; }

/* =========================================================
   01 你現在是哪一種
   ========================================================= */
.sec-target { padding: 0 0 80px; }
.sec-target__head {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
  margin-bottom: 20px;
}
.sec-target__glow {
  position: absolute;
  left: -149px; right: -149px; top: -673px;
  width: calc(100% + 298px);
  height: 746px;
}
.sec-target__head .sec-head { position: relative; padding-top: 0; }

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 320px;
  height: 200px;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--nude-3);
  border-radius: 20px;
  background: linear-gradient(to bottom, var(--white), #f8f1e9);
  transition: transform .3s, box-shadow .3s;
}
.case-card.is-active {
  transform: translateY(-20px);
  box-shadow: 0 6px 12px rgba(238, 207, 153, .3);
}
.case-card__img {
  position: absolute;
  display: block;
  left: -44px; top: -83px;
  width: 564px; height: 564px;
  overflow: hidden;
  transition: left .3s, top .3s, width .3s, height .3s;
}
.case-card.is-active .case-card__img { left: -67px; top: -100px; width: 598px; height: 598px; }
.case-card__img--1 img { width: 100%; height: 100%; object-fit: cover; }
.case-card__img--2 img { position: absolute; left: 6.88%; top: 4.79%; width: 76.94%; height: 76.94%; }
.case-card__img--3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--white) 14.628%, rgba(248, 241, 233, 0) 59.22%);
}
.case-card__img--3 img { position: absolute; left: -8.76%; top: 0; width: 80.32%; height: 80.32%; }

.case-card__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
}
.case-card__no {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1.12px;
  color: var(--gold-1);
}
.case-card__title { font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--brown-1); }
.case-card__head { display: contents; }
.case-card__more { display: none; } /* 「看更多」只在手機版出現 */

.case-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 20px;
  background: var(--nude-2);
  border: 1px solid var(--nude-3);
  border-radius: 20px;
}
.case-panel[hidden] { display: none; }
/* 切換 CASE 時，舊文字留在原位淡出、新文字同時淡入（交叉淡化） */
.case-panel > * { flex-shrink: 0; } /* 框高度漸變時，分隔線與內容不被壓扁 */
.case-panel__ghost { position: absolute; margin: 0; pointer-events: none; }
.case-panel__row { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.case-panel__label { width: 80px; flex-shrink: 0; font-weight: 700; }
.case-panel__label--red { color: var(--brand-red); }
.case-panel__lead { font-weight: 700; }
.case-panel__list { list-style: none; }
.case-panel__list li { position: relative; padding-left: 24px; }
.case-panel__list li::before { content: "•"; position: absolute; left: 8px; }
.case-panel__line { height: 1px; background: var(--nude-3); }
.case-panel__actions { gap: 12px; padding-top: 21px; }

/* =========================================================
   02 六件事
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 200px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--nude-3);
  border-radius: 20px;
}
.why-card--hot { border-color: var(--brand-red); }
.why-card__icon { width: 28.26px; height: 28.246px; margin-bottom: 16px; }
.why-card__title { font-size: 20px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.why-card__desc { opacity: .8; }
.why-card__badge {
  position: absolute;
  top: -13px; right: 23px;
  padding: 3px 16px 5px;
  border-radius: 20px;
  background: var(--brand-red);
  filter: drop-shadow(0 2px 6px rgba(216, 31, 38, .4));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12px;
  color: var(--white);
  white-space: nowrap;
}
.why-card__badge img {
  position: absolute;
  bottom: -10px;
  left: calc(50% + .5px);
  width: 10px; height: 10px;
  transform: translateX(-50%);
}

/* hover：卡片上浮＋陰影（手機不套用） */
@media (hover: hover) and (min-width: 768px) {
  .why-card { transition: transform .6s cubic-bezier(.25, .8, .25, 1), box-shadow .6s ease; }
  .why-card:hover { transition-duration: .3s; }
  .why-card:hover { transform: translateY(-12px); box-shadow: 0 6px 6px rgba(238, 207, 153, .3); }
  .why-card--hot:hover { box-shadow: 0 6px 6px rgba(216, 31, 38, .3); }
}

/* =========================================================
   03 手續費試算
   ========================================================= */
.calc { display: flex; gap: 20px; align-items: stretch; margin-top: 20px; }
.calc__inputs { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.calc__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: #f8f4ee;
  border: 1px solid var(--nude-3);
  border-radius: 20px;
}
.calc__label { font-weight: 700; }
.calc__hint {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .14px;
  color: var(--brown-3);
  opacity: .6;
}

.num-input {
  position: relative;
  height: 60px;
  background: var(--white);
  border: 1px solid var(--nude-3);
  border-radius: 12px;
  overflow: hidden;
}
.num-input input {
  width: 100%;
  height: 100%;
  padding: 0 48px 0 19px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(35, 27, 19, .6);
}
.num-input input:focus { color: var(--brown-1); }
.num-input:focus-within { border-color: var(--gold-1); }
.num-input__steppers {
  position: absolute;
  right: 11px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.num-input__steppers button {
  display: block;
  border-radius: 4px;
  background: var(--nude-2);
  transition: background-color .2s;
}
.num-input__steppers img { width: 20px; height: 16px; }
@media (hover: hover) {
  .num-input__steppers button:hover { background: var(--nude-3); }
}

.calc__result {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: var(--brown-4);
  border: 1px solid var(--nude-3);
  border-radius: 20px;
  color: var(--white);
}
.calc__rows { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; font-weight: 700; white-space: nowrap; }
.calc__row--gold { color: var(--gold-light); }
.calc__num { font-family: var(--font-en); font-weight: 500; font-size: 18px; line-height: 1.5; }
.calc__num--lg { font-weight: 600; font-size: 24px; }
.calc__line { height: 1px; background: var(--nude-3); opacity: .3; }
.calc__line--gold { background: var(--gold-light); opacity: 1; }
.calc__note { text-align: center; font-weight: 700; }
.calc__gold { color: var(--gold-light); }
.calc__btn { width: 100%; }

/* =========================================================
   04 開幕回饋
   ========================================================= */
.sec-rewards { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.sec-rewards .container { width: var(--container); }
.rewards { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.rewards__row { display: flex; gap: 20px; }

.reward { position: relative; overflow: hidden; border-radius: 20px; }
.reward__title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.reward__desc { opacity: .8; }
.reward__body { position: relative; display: flex; flex-direction: column; padding: 16px 20px; }

.reward--lg { width: 490px; height: 240px; background: var(--brand-red); }
.reward--lg .reward__body { height: 100%; justify-content: space-between; }
.reward--lg .reward__text { display: flex; flex-direction: column; gap: 8px; white-space: nowrap; }
.reward__bg {
  position: absolute;
  left: -10px; top: -10px;
  width: 510px; height: 260px;
  overflow: hidden;
}
.reward__bg img { position: absolute; }
.reward--open { color: var(--white); }
.reward--open .reward__bg img { left: -.78%; top: -12.75%; width: 145.69%; height: 163.19%; }
.reward--open .reward__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145.33deg, #2d1210 16.085%, rgba(64, 25, 22, 0) 57.946%);
}
.reward--order { background: var(--nude-3); }
.reward--order .reward__bg img { left: -7.99%; top: -14.14%; width: 118.71%; height: 132.97%; }
.reward__tag {
  align-self: flex-start;
  padding: 2px 12px 4px;
  border-radius: 40px;
  background: var(--brand-red);
  filter: drop-shadow(0 2px 6px rgba(216, 31, 38, .4));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .14px;
  color: var(--white);
}

.reward--sm { width: 320px; height: 300px; background: var(--white); }
.reward--sm .reward__body { gap: 8px; }
.reward__img { position: absolute; }
.reward--dca .reward__img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.reward--volume { background: linear-gradient(to bottom, #faf2e9, #fbf6ed); }
.reward--volume .reward__img { left: -12px; top: 111px; width: 332px; height: 342px; object-fit: cover; }
.reward--growth .reward__img {
  left: calc(50% + 27.5px);
  top: calc(50% - 17.5px);
  width: 535px; height: 535px;
  transform: translate(-50%, -50%);
}
.reward--growth .reward__img img { width: 100%; height: 100%; object-fit: cover; }
.reward--growth .reward__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165.21deg, #f2e7da 24.387%, rgba(254, 249, 238, 0) 58.04%);
}

.sec-rewards__btn { width: 228px; }

/* hover：背景放大（手機不套用） */
@media (hover: hover) and (min-width: 768px) {
  .reward__bg img,
  .reward--dca .reward__img,
  .reward--volume .reward__img,
  .reward--growth .reward__img img { transition: transform .6s ease; }
  .reward:hover .reward__bg img,
  .reward--dca:hover .reward__img,
  .reward--volume:hover .reward__img,
  .reward--growth:hover .reward__img img { transform: scale(1.08); }
}

/* =========================================================
   05 從用戶升級當股東
   ========================================================= */
.sec-leaders {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 149px 0 149px;
  /* 背景圖上下完整露出、不被區塊邊界裁切；左右多出的部分由 body 裁掉 */
}
.sec-leaders__bg {
  position: absolute;
  left: 50%; top: calc(50% + 80px);
  width: 1512px; height: 960px;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  opacity: .5;
  /* 底部與左右兩側淡出 */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 70%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.sec-leaders__bg img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.sec-leaders__inner { position: relative; display: flex; flex-direction: column; gap: 20px; width: 100%; }

.marquee {
  overflow: hidden;
  padding: 12px 0;
  display: flex;
  justify-content: center;
}
/* 跑馬燈兩側淡出在 1512 以上套用（背景淡出另外處理） */
@media (min-width: 1512px) {
  .marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  }
}
.marquee__track { display: flex; gap: 12px; flex-shrink: 0; }
/* 捲動與拖拉由 main.js 控制；手機改為格狀不播放 */
@media (min-width: 768px) {
  .marquee { justify-content: flex-start; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .marquee.is-dragging { cursor: grabbing; }
  .marquee img { -webkit-user-drag: none; pointer-events: none; }
}
.marquee__group { display: flex; gap: 12px; flex-shrink: 0; }

.stock-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 200px;
  height: 180px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--nude-3);
  border-radius: 20px;
  background: linear-gradient(147deg, #fff 2.3%, rgba(255, 255, 255, .4) 80.46%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.stock-card__logo { display: flex; align-items: center; height: 40px; }
.stock-card__info { display: flex; flex-direction: column; }
.stock-card__name { font-size: 20px; font-weight: 700; line-height: 1.5; }
.stock-card__code {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1.12px;
  opacity: .6;
  margin-bottom: 4px;
}
.stock-card__desc { font-size: 14px; line-height: 1.6; letter-spacing: .14px; opacity: .8; }

.sec-leaders__btn { position: relative; width: 228px; }

/* =========================================================
   Switch（06、07 共用）
   ========================================================= */
.switch {
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 40px;
  background: var(--nude-1);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
.switch__bar {
  position: absolute;
  left: 4px; top: 50%;
  height: 53px;
  width: calc(50% - 4px);
  border-radius: 40px;
  background: var(--brown-1);
  transform: translateY(-50%);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); /* 稍微衝過頭再彈回 */
}
.switch.is-right .switch__bar { transform: translate(100%, -50%); }
.switch__opt {
  position: relative;
  flex: 1;
  min-width: 0; /* 兩個選項固定各半，文字較長時不撐寬，才會跟底下黑色滑塊對齊置中 */
  padding: 12px 0 14px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  white-space: nowrap;
  color: var(--brown-1-60);
  transition: color .3s;
}
.switch__opt.is-active { color: var(--white); font-weight: 700; }
.switch--steps { width: 270px; }
.switch--compare { width: 320px; }

.switch-panel[hidden] { display: none; }

/* =========================================================
   06 三步驟
   ========================================================= */
.sec-steps__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: 20px; }
.switch-panel--ghost { position: absolute; margin: 0; pointer-events: none; }
.sec-steps .switch-panel { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.sec-steps .switch-panel[hidden] { display: none; }
.steps { display: flex; gap: 20px; }
.step {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 320px;
  height: 160px;
  padding: 16px 8px 16px 20px;
  border-radius: 20px;
  background: var(--nude-2);
}
.step__text { flex: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.step__head { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.step__no { font-family: var(--font-en); font-weight: 500; font-size: 14px; letter-spacing: 1.12px; color: var(--gold-1); }
.step__title { font-size: 20px; font-weight: 700; }
.step__desc { opacity: .8; }
.step__icon { flex-shrink: 0; width: 36px; height: 36px; }
.sec-steps__btn { width: 228px; }

/* =========================================================
   07 白紙黑字
   ========================================================= */
.sec-compare__bg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  aspect-ratio: 3024 / 508;
  opacity: .2;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 5%, #000 50%, transparent 95%);
  mask-image: linear-gradient(to right, transparent 5%, #000 50%, transparent 95%);
  pointer-events: none;
}
.sec-compare__bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-compare .container { position: relative; }
.sec-compare__body { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: 20px; }
.sec-compare .switch-panel { width: 100%; }

.cmp-table {
  position: relative;
  border: 1px solid var(--nude-3);
  border-radius: 20px;
  background: var(--white);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
.cmp-table__row { position: relative; display: flex; border-top: 1px solid var(--nude-3); }
.cmp-table__row--head { border-top: 0; }
.cmp-table__cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.cmp-table__cell--hl { flex: 0 0 360px; background: var(--nude-1); }
.cmp-table__cell--hl b { font-weight: 700; }
.cmp-table__cell--muted { opacity: .6; }
.cmp-table__cell img { display: block; width: 24px; height: 24px; }

.cmp-table__row--head .cmp-table__cell { background: var(--nude-2); }
.cmp-table__row--head .cmp-table__cell:first-child { border-top-left-radius: 20px; }
.cmp-table__row--head .cmp-table__cell:last-child { border-top-right-radius: 20px; }
.cmp-table__row--head .cmp-table__cell--hl {
  background: var(--brand-red);
  color: var(--white);
  font-weight: 700;
  border-radius: 12px 12px 0 0;
}
.cmp-table__row:last-of-type .cmp-table__cell:first-child { border-bottom-left-radius: 20px; }
.cmp-table__row:last-of-type .cmp-table__cell:last-child { border-bottom-right-radius: 20px; }
.cmp-table__row:last-of-type .cmp-table__cell--hl { border-radius: 0 0 12px 12px; }
.cmp-table__outline {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 360px;
  transform: translateX(-50%);
  border: 2px solid var(--brand-red);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  pointer-events: none;
}
/* 切換時淡出的舊文字，只留文字不留底色 */
.cmp-table__ghost { position: absolute; left: 0; right: 0; display: flex; pointer-events: none; }
.cmp-table__ghost .cmp-table__cell { background: none; }

/* =========================================================
   08 FAQ
   ========================================================= */
.sec-faq { padding: 80px 0 120px; }
.faq {
  margin-top: 20px;
  border-top: 1px solid var(--nude-3);
  border-bottom: 1px solid var(--nude-3);
}
.faq__item + .faq__item { border-top: 1px solid var(--nude-3); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: color .3s, padding .4s ease;
}
@media (hover: hover) {
  .faq__q:hover { color: var(--brand-red); }
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex-shrink: 0; width: 25px; height: 25px; }
/* 線條取自 icon-faq.svg；展開時直線旋轉成橫線，+ 變 − */
.faq__icon rect { fill: var(--brown-3); stroke: var(--brown-3); stroke-width: .3; stroke-linejoin: round; transform-origin: 12.5px 12.5px; transition: transform .3s; }
.faq__icon-v { transform: rotate(90deg); }
/* 收合動畫進行中（is-closing）就先回到未展開的樣子 */
.faq__item[open]:not(.is-closing) .faq__icon-v { transform: rotate(180deg); }
.faq__item[open]:not(.is-closing) .faq__q { color: var(--brand-red); padding-bottom: 20px; }
.faq__a { padding: 0 52px 16px 12px; }
.faq__a ul { list-style: none; }
.faq__a li { position: relative; padding-left: 24px; }
.faq__a li::before { content: "•"; position: absolute; left: 8px; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  height: 352px;
  padding: 60px 0;
}
.cta__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 40px 40px 0 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  mix-blend-mode: multiply;
}
.cta__statue {
  position: absolute;
  bottom: 0;
  right: calc((100% - 1000px) / 2 - 174px);
  width: 723px;
  aspect-ratio: 723 / 431;
  overflow: hidden;
}
.cta__statue img { position: absolute; left: 0; top: 0; width: 100.06%; height: 285.79%; }
.cta__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px max(40px, calc((100% - 984px) / 2));
}
.cta__text { display: flex; flex-direction: column; gap: 8px; }
.cta__title { font-size: 36px; font-weight: 700; line-height: 1.5; }
.cta__title-red { color: #d3171a; }
.cta__desc { font-size: 20px; line-height: 1.5; opacity: .8; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 48px 0;
  background: var(--footer-bg);
  color: var(--white);
  text-align: center;
  box-shadow: 0 100vh 0 0 var(--footer-bg); /* 手機滑到底回彈時，footer 下方露出的也是深色，不露出淺色底 */
}
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__name { font-size: 18px; line-height: 1.8; opacity: .6; }
.footer__info { margin-top: 4px; font-size: 15px; line-height: 1.5; opacity: .6; }
.footer__link {
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .12px;
  opacity: .6;
}
.footer__link:hover { opacity: 1; }

/* 平板／手機專用換行與元素：桌機隱藏 */
.br-t,
.br-m,
.only-m,
.hero__m-bg,
.hero__m-ellipse-11,
.hero__m-flag,
.hero__m-fade,
.hero__m-limited,
.hero__m-amount,
.sec-leaders__glow,
.sec-compare__glow { display: none; }
.cta__bg picture { position: absolute; inset: 0; display: block; }

/* =========================================================
   Tablet（設計稿 834，內容最寬 778）
   ========================================================= */
@media (max-width: 1199px) {
  :root { --container: 778px; }

  .br-t { display: inline; }
  .br-d { display: none; }

  .container { max-width: calc(100% - 56px); }
  .sec-head { padding-bottom: 40px; }

  /* Header */
  .header { border-bottom-color: #f0ede8; }
  .header__inner { width: 786px; max-width: calc(100% - 48px); }
  .header__title { line-height: 1.5; }
  /* 平板選單與按鈕各自分開，三組左右平均分佈 */
  .header__right { display: contents; }
  .header__nav { gap: 36px; }
  .header__cta { padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 700; line-height: 1.5; }

  /* Hero */
  .hero { padding: 100px 28px 0; }
  .hero__card { width: 778px; height: 658px; }
  .hero__city { left: -235px; right: -433px; bottom: 413px; width: calc(100% + 668px); }
  .hero__bg-shape { height: 658px; }
  .hero__band { top: 241px; height: 244px; }
  .hero__glow { left: calc(50% + 218px); top: 37px; }
  .hero__statue {
    right: -1px; top: 62px; bottom: auto;
    width: 436px; height: 597px;
    -webkit-mask-image: linear-gradient(to left, #000 49.65%, transparent);
    mask-image: linear-gradient(to left, #000 49.65%, transparent);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 495px, 166px 495px, 166px 424px, 0 424px);
  }
  .hero__statue img { left: -6.41px; top: -14px; width: 586.35px; height: 998.27px; }

  .hero__content {
    top: -1px; bottom: auto;
    width: calc(100% + 2px);
    height: 658px;
    align-items: flex-start;
    padding: 0 48px 70px;
  }
  .hero__tab { align-self: center; }
  .hero__main { align-items: flex-start; gap: 36px; width: auto; }
  .hero__title {
    flex-direction: column;
    gap: 4px;
    width: 598px;
    max-width: 100%;
    font-size: 40px;
    letter-spacing: -1.6px;
  }
  .hero__offer { width: auto; }
  .hero__num { width: 115px; height: 182px; }
  .hero__offer-text { padding: 32.37px 12.33px 12.33px; }
  .hero__limited { padding: 0 9.25px; }
  .hero__limited img { width: 148.42px; height: 28px; }
  .hero__amount { width: 324.18px; height: 92px; }
  .hero__wan { width: 181.76px; height: 92px; }
  .hero__wan img { width: 180.52px; height: 90.54px; }
  .hero__wan .hero__wan-1 { left: 1.24px; top: 1.46px; }
  .hero__fee { left: 191.14px; top: 33.77px; width: 133.04px; height: 56px; }
  .hero__fee img { width: 131.73px; height: 54.96px; }
  .hero__fee .hero__fee-1 { left: 2.12px; top: 1.2px; width: 130.92px; height: 54.8px; }
  .hero__special-chars--wan { width: 180.52px; height: 90.54px; }
  .hero__special-chars--fee { width: 131.73px; height: 54.96px; }
  .hero__actions { align-self: stretch; align-items: stretch; }
  .hero__deal .hero__btn { flex: 1 1 0; width: auto; }

  /* 01 */
  .case-tabs { margin-top: 20px; }
  .case-card { flex: 1 1 0; width: auto; }
  .case-panel { background: var(--nude-1); }

  /* 03 */
  .calc__inputs { flex: 0 1 358px; }
  .calc__result { flex: 0 1 400px; }

  /* 04 */
  .reward--lg, .reward--sm { flex: 1 1 0; width: auto; }
  .reward--open .reward__bg img { left: -4.98%; top: -.04%; width: 130.98%; height: 146.71%; }
  .reward--order .reward__bg img { left: -24.7%; top: -11.09%; width: 115.38%; height: 129.24%; }
  .reward--volume .reward__img { left: 21px; top: 141px; width: 206px; height: 212px; }
  .reward--growth .reward__img {
    left: calc(50% + 23px);
    top: calc(50% + 5.5px);
    width: 416px; height: 417px;
  }
  .reward--growth .reward__img::after {
    background: linear-gradient(147.96deg, #f2e7da 18.76%, #f8f1e5 41.843%, rgba(254, 249, 238, 0) 58.267%);
  }

  /* 05 */
  .sec-leaders { padding: 139px 0; }
  .sec-leaders__bg {
    top: calc(50% - 44px);
    width: 1186px; height: 753px;
  }

  /* 06 */
  /* 834 以上維持卡寬 244，往下隨容器等比縮小 */
  .sec-steps .switch-panel { align-self: stretch; }
  .steps { align-self: stretch; justify-content: center; }
  .step { flex: 0 1 244px; min-width: 0; width: auto; height: 184px; }
  .step__text { justify-content: flex-start; gap: 16px; }
  .step:last-child { padding-right: 20px; }
  .step:last-child .step__icon { display: none; }

  /* 07 */
  .cmp-table__cell--hl { flex: 1; }
  .cmp-table__outline { width: calc(100% / 3); }

  /* CTA */
  .cta { height: 272px; padding: 0; }
  .cta__statue {
    left: auto; right: calc(max(28px, (100% - 778px) / 2) - 156px);
    width: 572px; height: 341px; aspect-ratio: auto;
  }
  .cta__statue img { width: 100%; }
  .cta__content { padding: 40px; padding-left: calc(max(28px, (100% - 778px) / 2) + 12px); }
}

/*
 * 平板字級 RWD：以設計稿 834 寬為基準換算 vw，
 * 834 以上維持設計稿字級，往下等比縮小，最小不低於手機版字級。
 */
@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --fs-display: clamp(34px, 4.796vw, 40px);
    --fs-h1: clamp(28px, 4.317vw, 36px);
    --fs-h2: clamp(20px, 2.878vw, 24px);
    --fs-h3: clamp(18px, 2.398vw, 20px);
    --fs-h4: clamp(16px, 2.158vw, 18px);
    --fs-body1: clamp(15px, 1.918vw, 16px);
    --fs-body2: clamp(14px, 1.799vw, 15px);
    --fs-body4: clamp(13px, 1.679vw, 14px);
  }

  body { font-size: var(--fs-body1); }

  /* Header */
  .header__title,
  .header__nav a { font-size: var(--fs-body2); }
  .header__nav { gap: min(4.317vw, 36px); }
  .header__cta { font-size: var(--fs-body4); }

  /* 按鈕 */
  .btn { font-size: var(--fs-h4); }
  .btn--sm,
  .switch__opt { font-size: var(--fs-body2); }

  /* Section 標題 */
  .sec-head__eyebrow { font-size: var(--fs-body4); }
  .sec-head__title { font-size: var(--fs-h1); }
  .sec-head__desc { font-size: var(--fs-body2); }

  /* Hero */
  .hero__tab { font-size: var(--fs-h4); }
  .hero__title { font-size: var(--fs-display); letter-spacing: -.04em; }

  /* 01 */
  .case-card__no { font-size: var(--fs-body4); }
  .case-card__title { font-size: var(--fs-h2); }

  /* 02、04、05、06、07、08 卡片標題與表格 */
  .why-card__title,
  .reward__title,
  .step__title,
  .stock-card__name,
  .cmp-table__cell,
  .faq__q { font-size: var(--fs-h3); }
  .step__no,
  .stock-card__code,
  .stock-card__desc,
  .reward__tag { font-size: var(--fs-body4); }

  /* 03 */
  .calc__hint { font-size: var(--fs-body4); }
  .num-input input,
  .calc__num { font-size: var(--fs-h4); }
  .calc__num--lg { font-size: var(--fs-h2); }

  /* CTA、Footer */
  .cta__title { font-size: var(--fs-h1); }
  .cta__desc { font-size: var(--fs-h3); }
  .footer__name { font-size: var(--fs-h4); }
  .footer__info { font-size: var(--fs-body2); }
}

/*
 * 平板卡片圖片 RWD：卡片寬度會隨螢幕變動，
 * 圖片改以卡片寬（cqw）等比縮放。
 */
@media (min-width: 768px) and (max-width: 1199px) {
  /* 01：桌機卡片（寬 320）的圖片等比縮小到平板卡片寬，對齊卡片右下角後再往右移約 16px、往上移約 8px（以卡寬 246 計） */
  .case-card { container-type: inline-size; }
  .case-card__img {
    left: auto; top: auto;
    right: -69cqw; bottom: -84.5625cqw;
    width: 176.25cqw; height: 176.25cqw;
    transition: right .3s, bottom .3s, width .3s, height .3s;
  }
  .case-card.is-active .case-card__img {
    left: auto; top: auto;
    right: -72.4375cqw; bottom: -89.875cqw;
    width: 186.875cqw; height: 186.875cqw;
  }

  /* 04：以設計稿 834 時的卡片寬 246 換算，左上角定位 */
  .reward--sm { container-type: inline-size; }
  .reward--volume .reward__img {
    left: 8.537cqw; top: 57.317cqw;
    width: 83.74cqw; height: 86.179cqw;
  }
  .reward--growth .reward__img {
    left: -25.203cqw; top: -21.545cqw;
    width: 169.106cqw; height: 169.512cqw;
    transform: none;
  }
}

/* =========================================================
   Mobile（設計稿 393，左右留白 20）
   ========================================================= */
@media (max-width: 767px) {
  .br-t { display: none; }
  .br-m { display: inline; }
  .only-m { display: block; }
  .hide-m { display: none; }

  .container { width: auto; max-width: none; margin: 0 20px; }

  /* 按鈕：手機版滿版 */
  .btn { width: 100%; }
  .btn--arrow { padding-right: 24px; }

  /* Section 共用 */
  .sec { padding: 0 0 80px; }
  .sec-divider { margin: 0 4px; }
  .sec-head { gap: 12px; padding: 60px 4px 20px; }
  .sec-head__eyebrow + .sec-head__title { margin-top: -8px; }
  .sec-head__title { font-size: 28px; line-height: 1.4; }
  .sec-head__desc { font-size: 16px; line-height: 1.5; }

  /* Header */
  .header { border-bottom-color: var(--nude-2); }
  .header__inner { width: auto; max-width: none; margin: 0 20px; }
  .header__sep, .header__title, .header__nav { display: none; }
  .header__logo { width: 110px; }
  .header__cta { padding: 6px 20px; border-radius: 40px; font-size: 15px; font-weight: 700; line-height: 1.8; }

  /* Hero */
  .hero { display: block; padding: 69px 0 0; }
  .hero__card {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    clip-path: inset(0);
    background: var(--nude-1);
  }
  .hero__card::after { display: none; }
  .hero__ellipse-red, .hero__city, .hero__bg-shape, .hero__band, .hero__glow { display: none; }

  .hero__m-bg {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 666px;
    overflow: hidden;
    background: #f3efe7;
  }
  /* 手機版 hero 的圖層以畫面中線定位（設計稿為置中的 833px 寬畫框，393px 寬時左緣在 -220px） */
  .hero__m-city {
    position: absolute;
    left: calc(50% - 416.5px);
    top: 0;
    width: 834px;
    height: 533px;
    -webkit-mask-image: linear-gradient(to bottom, #000 446px, transparent 524px);
    mask-image: linear-gradient(to bottom, #000 446px, transparent 524px);
  }
  .hero__m-ellipse-12 {
    position: absolute;
    left: calc(50% - 480.52px);
    top: 293.92px;
    width: 1151.97px;
    height: 335.33px;
    transform: rotate(-6.95deg) skewX(9.4deg);
  }

  .hero__statue {
    z-index: 2;
    left: calc(50% - 59px); right: auto; bottom: auto;
    top: 25px;
    width: 396px;
    /* 底座裁在 hero 底部淡出區內，避免在 hero 下緣露出一條暗線 */
    height: 636px;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
    clip-path: none;
    pointer-events: none;
  }
  .hero__statue img { left: 0; top: 0; width: 100%; height: 673px; object-fit: cover; }
  .hero__m-flag {
    display: block;
    position: absolute;
    z-index: 2;
    left: 0; right: 0; top: 0;
    height: 666px;
    overflow: hidden;
    pointer-events: none;
  }
  .hero__m-flag img {
    position: absolute;
    left: calc(50% - 301.5px);
    top: 301px;
    width: 594px;
    height: 1011px;
    object-fit: cover;
  }
  .hero__m-ellipse-11 {
    display: block;
    position: absolute;
    z-index: 2;
    left: calc(50% - 407.36px);
    top: 410.78px;
    width: 930.824px; height: 287.958px;
    transform: rotate(8.79deg) skewX(-16.1deg);
    pointer-events: none;
  }
  .hero__m-fade {
    display: block;
    position: absolute;
    z-index: 2;
    left: 0; right: 0;
    bottom: 0;
    height: 92px;
    background: linear-gradient(to bottom, rgba(255, 252, 248, 0), var(--nude-1));
    pointer-events: none;
  }
  /* 手機版底部 43px 淡出與城市圖收邊 */
  .hero__m-bg::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 43px;
    background: linear-gradient(to bottom, rgba(255, 252, 248, 0), var(--nude-1));
  }

  .hero__content {
    position: relative;
    z-index: 1;
    left: auto; top: auto; bottom: auto;
    width: auto;
    height: auto;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
  }
  /* 緞帶壓在自由女神下方，火把才不會被擋住 */
  .hero__tab {
    z-index: 1;
    align-self: stretch;
    width: auto;
    justify-content: flex-start;
    padding: 10px 21px;
    border-radius: 0;
    background: linear-gradient(to right, #aa8553 12.879%, #d4b56c 112.88%);
    text-shadow: none;
  }
  .hero__tab-corner { display: none; }

  .hero__main { align-items: stretch; gap: 12px; width: auto; height: 614px; padding: 29.8px 20px 0 21px; }
  .hero__title {
    flex-direction: column;
    gap: 0;
    width: auto;
    padding: 8px 3px;
    font-size: 36px;
    letter-spacing: -1.44px;
  }
  .hero__offer {
    width: auto;
    padding: 20px 12px;
    border-radius: 16px;
    background: linear-gradient(111.71deg, var(--brand-red) 24.481%, var(--brand-red-dark) 85.14%);
  }
  .hero__num { width: 88px; height: 140px; }
  .hero__offer-text { padding: 4px 8px 8px; }
  .hero__limited, .hero__amount { display: none; }
  .hero__m-limited { position: relative; display: flex; align-items: center; height: 29.01px; padding: 0 4px; }
  .hero__m-limited img { width: 118.8px; height: 22px; }
  .hero__m-amount { display: block; position: relative; width: 132.86px; height: 81.3px; }
  .hero__m-amount img { position: absolute; left: 0; top: 0; width: 126.407px; height: 59.131px; }
  .hero__m-amount .hero__m-wan-a { left: .87px; top: .95px; width: 126.404px; }
  .hero__m-amount .hero__m-fee { left: .05px; top: 66.3px; width: 132.813px; height: 15px; }

  /* 手續費率小卡疊在 hero 圖內（卡片頂端距 hero 頂 393px，與上方紅卡維持約 10px 間距），手機版不顯示開戶按鈕 */
  .hero__content { z-index: auto; }
  .hero__main { position: relative; z-index: 1; }
  .hero__actions { position: absolute; z-index: 3; left: 0; right: 0; top: 393px; align-items: center; }
  .hero__deal { padding: 7px; border-radius: 16px; }
  .hero__rate { gap: 14px; padding: 0 3.5px; }
  .hero__laurel { width: 20.008px; height: 42.248px; }
  .hero__rate-body { column-gap: 7px; text-align: center; }
  .hero__rate-label { width: 140px; margin-bottom: -4.375px; font-size: 14px; }
  .hero__rate-min { gap: 5.25px; font-size: 14px; }
  .hero__rate-min span { font-size: 15.75px; }
  .hero__rate-num { font-size: 42px; letter-spacing: -.42px; }
  .hero__btn { display: none; }

  /* 01 你現在是哪一種 */
  .sec-target { padding-bottom: 0; }
  .sec-target__head { padding: 0; }
  .sec-target__glow { display: none; }
  .sec-target__head .sec-head { padding: 80px 4px 20px; }

  /* 卡片與內容交錯排列：卡片下方展開對應內容 */
  .sec-target .container { display: flex; flex-direction: column; gap: 20px; padding-bottom: 80px; }
  .sec-target__head { margin: 0 -20px 20px; }
  .case-tabs { display: contents; }
  .case-card[data-case="1"] { order: 1; }
  .case-panel[data-case-panel="1"] { order: 2; }
  .case-card[data-case="2"] { order: 3; }
  .case-panel[data-case-panel="2"] { order: 4; }
  .case-card[data-case="3"] { order: 5; }
  .case-panel[data-case-panel="3"] { order: 6; }

  /* 卡片與展開內容是同一張卡：收合時米色框，展開時外框轉紅、中間留一條分隔線 */
  .case-card {
    flex: none;
    width: 100%;
    height: 152px;
    background: var(--nude-1);
    border-color: var(--nude-3);
    box-shadow: inset 0 -1px 0 var(--nude-3);
    transition: border-color .3s, border-radius .3s;
  }
  .case-card.is-active {
    transform: none;
    box-shadow: none;
    background: var(--nude-1);
    border-color: var(--brand-red) var(--brand-red) var(--nude-3);
    border-radius: 20px 20px 0 0;
  }
  .case-card__img { left: -6px; top: -95px; width: 522px; height: 522px; }
  .case-card.is-active .case-card__img { left: -35px; top: -120px; width: 570px; height: 570px; }
  .case-card__img--1 img { position: static; }
  .case-card__img--2 img { left: 12.91%; top: 4.22%; width: 71.03%; height: 71.03%; }
  .case-card__img--3::before { display: none; }
  .case-card__img--3 img { left: -2.37%; top: .24%; width: 76.69%; height: 76.69%; }
  .case-card__text { box-sizing: border-box; width: 100%; padding: 12px 16px; } /* iOS Safari 的 button 內不會自動撐滿，明確給寬度 */
  .case-card__head { display: flex; justify-content: space-between; align-items: center; width: 100%; }
  .case-card__no { transition: color .3s; }
  .case-card.is-active .case-card__no { color: var(--brand-red); }
  .case-card__more {
    display: flex;
    margin-left: auto;
    align-items: center;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: .12px;
    color: var(--gold-1);
    transition: color .3s;
  }
  .case-card.is-active .case-card__more { color: transparent; }
  .case-card__more svg { flex-shrink: 0; width: 20px; height: 16px; margin-left: 6px; } /* 用 margin 取代 gap，舊版手機瀏覽器才有間距 */
  .case-card__more rect { fill: var(--gold-1); transition: fill .3s; }
  .case-card__more path {
    fill: none;
    stroke: var(--nude-1);
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 10px 8px;
    transition: transform .3s;
  }
  .case-card.is-active .case-card__more rect { fill: var(--brand-red); }
  .case-card.is-active .case-card__more path { transform: rotate(180deg); }

  .case-panel {
    margin-top: -20px;
    gap: 20px;
    padding: 16px;
    background: var(--nude-1);
    border-color: var(--brand-red);
    border-top: 0;
    border-radius: 0 0 20px 20px;
  }
  .case-panel__row { flex-direction: column; gap: 8px; }
  .case-panel__list li { padding-left: 24px; }
  .case-panel__label--red { color: var(--brown-1); }
  .case-panel__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--nude-3);
  }
  .case-panel__actions .btn { width: 100%; height: auto; padding: 16px 24px; font-weight: 500; }
  .case-panel__actions .btn--red { filter: drop-shadow(0 2px 6px rgba(216, 31, 38, .4)); }

  /* 02 六件事 */
  .why-grid { grid-template-columns: 1fr; margin-top: 0; padding-top: 40px; }
  .why-card { height: 172px; }
  .why-card--hot { box-shadow: 0 6px 6px rgba(216, 31, 38, .3); }
  .why-card__desc { font-size: 16px; }

  /* 03 手續費試算 */
  .sec-calc .sec-head__desc { margin-top: 12px; }
  .calc { flex-direction: column; margin-top: 0; padding-top: 40px; }
  .calc__inputs { flex: none; gap: 20px; }
  .calc__field { gap: 10px; }
  .calc__result { flex: none; gap: 28px; padding: 24px 20px 16px; }
  .calc__rows { gap: 20px; padding-top: 0; }
  .calc__rows .calc__note { margin-top: 8px; }

  /* 04 開幕回饋 */
  .sec-rewards { gap: 40px; }
  .sec-rewards .container { width: auto; align-self: stretch; }
  .sec-rewards .sec-head__desc { margin-top: 12px; }
  .rewards { gap: 12px; margin-top: 0; padding-top: 20px; }
  .rewards__row { flex-direction: column; gap: 12px; }
  .reward--lg, .reward--sm { flex: none; width: 100%; height: 200px; }
  .reward__body { gap: 8px; }
  .reward__desc { font-size: 16px; }
  .reward--lg .reward__text { white-space: normal; }

  .reward--open .reward__bg { inset: 0; width: auto; height: auto; transform: none; }
  .reward--open .reward__bg img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
  .reward--open .reward__bg::after { display: none; }
  .reward--open::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0) 69.757%);
    opacity: .5;
  }
  .reward--open .reward__body { z-index: 2; }
  .reward--open .reward__desc { font-size: 15px; white-space: nowrap; }

  .reward--order { background: var(--white); }
  .reward--order .reward__bg {
    left: calc(50% + 28.5px); top: calc(50% + 5px);
    width: 452px; height: 282px;
    transform: translate(-50%, -50%);
  }
  .reward--order .reward__bg img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

  .reward--volume .reward__img { left: 145px; top: 23px; width: 229px; height: 236px; }
  .reward--growth .reward__img { inset: 0; width: auto; height: auto; transform: none; }
  .reward--growth .reward__img::after { display: none; }
  .sec-rewards__btn { width: calc(100% - 40px); }

  /* 05 從用戶升級當股東 */
  .sec-leaders { gap: 40px; padding: 0 0 80px; }
  .sec-leaders__bg {
    left: 50%; top: 154.85px;
    width: 590px; height: 354px;
    transform: translate(-50%, -50%) rotate(7deg);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 20.1%, #000 79.8%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 20.1%, #000 79.8%, transparent);
  }
  .sec-leaders__inner { gap: 0; }
  .sec-leaders .container { position: relative; }
  .sec-leaders__glow {
    display: block;
    position: absolute;
    left: 50%; top: -16px;
    width: 447px; height: 280px;
    transform: translateX(-50%);
  }
  .sec-leaders .sec-head { position: relative; padding: 72px 4px; }
  .marquee { display: block; padding: 20px 20px 0; -webkit-mask-image: none; mask-image: none; }
  .marquee__track, .marquee__group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .marquee__track { display: block; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .stock-card { width: auto; }
  .sec-leaders__btn { width: calc(100% - 40px); }

  /* Switch */
  .switch--steps, .switch--compare { width: 100%; }
  .switch__bar { width: calc(50% - 4.5px); }

  /* 06 三步驟 */
  .sec-steps__body { gap: 40px; margin-top: 0; padding-top: 20px; }
  .sec-steps .sec-head { padding-bottom: 0; }
  .sec-steps .switch-panel { align-self: stretch; gap: 40px; }
  .steps { flex-direction: column; align-self: stretch; }
  .step,
  .step:last-child {
    flex: none;
    flex-direction: column;
    gap: 8px;
    width: auto;
    height: auto;
    padding: 16px 16px 8px;
    text-align: center;
  }
  .step::after {
    content: "";
    width: 32px; height: 32px;
    background: url("../assets/m-icon-chevron-down.svg") center / contain no-repeat;
  }
  .step__icon,
  .step:last-child .step__icon { display: none; }
  .step__text { gap: 4px; height: auto; justify-content: flex-start; }
  .step__head { gap: 4px; }
  .sec-steps__btn { width: 100%; }

  /* 07 白紙黑字 */
  .sec-compare__bg {
    top: 8px; bottom: auto;
    aspect-ratio: 393 / 239;
    opacity: .3;
  }
  .sec-compare__bg img { object-position: bottom; }
  .sec-compare__glow {
    display: block;
    position: absolute;
    left: 50%; top: 41px;
    width: 295px; height: 152px;
    transform: translateX(-50%);
  }
  .sec-compare .sec-head { position: relative; padding-bottom: 0; }
  .sec-compare__body { align-items: stretch; gap: 20px; margin-top: 0; padding-top: 20px; }
  /* 表格比螢幕寬，可左右滑動 */
  .sec-compare .switch-panel {
    /* 內容欄最寬 393px，表格滑動區需延伸到螢幕兩側邊緣 */
    --bleed: calc(20px + max(0px, (100vw - 393px) / 2));
    width: auto;
    margin: 0 calc(var(--bleed) * -1);
    padding: 0 var(--bleed);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
  }
  .sec-compare .switch-panel::-webkit-scrollbar { display: none; }
  /* 斷行跟平板一致：表格加寬到最長那行不會被擠斷，並保留平板的換行位置 */
  .cmp-table { width: 640px; }
  .cmp-table .br-t { display: inline; }
  .cmp-table__cell { font-size: 18px; }
  .cmp-table__cell--hl { flex: 0 0 239px; }
  .cmp-table__outline { width: 239px; }

  /* 08 FAQ */
  .sec-faq { padding: 0 0 80px; }
  .sec-faq .sec-head { padding-bottom: 0; }
  .faq { max-width: 340px; margin: 20px auto 0; }
  .faq__q { padding: 24px 0; }
  .faq__item[open]:not(.is-closing) .faq__q { padding-bottom: 12px; }
  .faq__a { padding: 0 37px 24px 0; }

  /* CTA */
  .cta {
    flex-direction: column;
    align-items: stretch;
    height: 660px;
    padding: 0;
    /* 只裁上下，左右讓背景圖延伸到螢幕兩側；上下用 overflow clip 裁，避免雕像撐出 footer 下方空白 */
    overflow-x: visible;
    overflow-y: clip;
    clip-path: inset(0 -100vw);
  }
  .cta__bg { left: min(-26px, calc(196.5px - 50vw)); right: min(-25px, calc(196.5px - 50vw)); top: auto; bottom: 0; height: 660px; border-radius: 0; overflow: visible; }
  .cta__bg img { object-position: bottom; }
  .cta__statue {
    z-index: 1;
    left: -31.81%; right: -29.01%;
    bottom: -364px;
    width: auto; height: auto;
    aspect-ratio: 467 / 560;
    pointer-events: none;
  }
  .cta__statue img { left: -.07%; top: 0; width: 100.06%; height: 142.05%; }
  .cta__content { gap: 0; padding: 60px 20px 0; padding-left: 20px; }
  .cta__text { gap: 12px; text-align: center; }
  .cta__title { font-size: 28px; line-height: 1.4; }
  .cta__title-red { color: var(--brand-red); }
  .cta__desc { font-size: 16px; color: var(--brown-3); opacity: 1; }
  .cta .btn-group { flex-direction: column; align-items: stretch; padding: 28px 0; }
  .cta__btn { width: 100%; font-size: 18px; }

  /* Footer */
  .footer { padding: 40px 20px; }
  .footer__inner { gap: 0; }
  .footer__info { margin-top: 12px; }
  .footer__link { margin-top: 24px; }

  /* 手機版內容最大寬度鎖在設計稿 393px，只有 header、footer 背景延伸滿版 */
  main { max-width: 393px; margin-left: auto; margin-right: auto; }

  /* Hero 背景與緞帶延伸滿版（背景元素已以畫面中線定位），內容維持 393px */
  .hero__tab { padding-left: calc(max(0px, 50% - 196.5px) + 21px); }
  .hero__main, .hero__actions { width: 100%; max-width: 393px; margin-left: auto; margin-right: auto; }
  .header__inner { max-width: 353px; margin: 0 auto; }
  .footer__inner { max-width: 353px; margin: 0 auto; }
}

/* 各區塊捲動進畫面時整區向上淡入（由 JS 加上 .reveal） */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
  .reveal.is-revealed { opacity: 1; transform: none; }
}

/* 平板與電腦版平滑捲動（Lenis）：接手捲動時關掉原生的 smooth，避免兩者疊加 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
