/* ============================================================================
   小綠書有聲書 Thank You 頁（第二版 / A/B test 用）
   2026-10-08 改版：參考小藍書 thank-you 頁結構——hero（eyebrow＋大標＋lead＋
   產品圖）→ 三步驟編號卡 → help 區 → 注意事項 → 跋。手機優先。
   設計語言：乾淨現代課程風——白底 #ffffff、品牌綠 #1f7a3d、圓角卡片、
   乾淨無襯線排印（Noto Sans TC）、綠色 pill 按鈕。
   重要：所有樣式都限縮在 .lgbv2-ty 包裹層內（token 也定義在這層，不用 :root），
   不動 body/html 全域樣式；不含 header/footer/nav。
   WP 主題會干擾 button padding / img / text-shadow：按鈕寫死 padding、
   text-shadow: none。無全域 reset。
   ============================================================================ */

.lgbv2-ty{
  --green:#1f7a3d;
  --green-deep:#176233;
  --green-soft:#eef5f0;
  --ink:#1a1d1a;
  --ink-soft:#3d423d;
  --ink-mute:#6b706b;
  --line:#e8eae8;
  --bg-alt:#f7f8f7;
  --card-shadow:0 10px 30px rgba(26,29,26,.08);
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,-apple-system,"Segoe UI",sans-serif;
  background:#ffffff;
  color:var(--ink);
  font-size:1rem;
  line-height:1.7;
  -webkit-text-size-adjust:100%;
}
.lgbv2-ty *,
.lgbv2-ty *::before,
.lgbv2-ty *::after{ box-sizing:border-box; }
.lgbv2-ty h1,.lgbv2-ty h2,.lgbv2-ty h3,
.lgbv2-ty p,.lgbv2-ty ol,.lgbv2-ty ul,.lgbv2-ty figure{ margin:0; }
.lgbv2-ty ol,.lgbv2-ty ul{ padding:0; list-style:none; }
.lgbv2-ty img{ display:block; max-width:100%; height:auto; }
.lgbv2-ty a:focus-visible{ outline:2px solid var(--green); outline-offset:3px; }

/* ---------- 版心 ---------- */
.lgbv2-ty-wrap{ max-width:1120px; margin:0 auto; padding-left:20px; padding-right:20px; }
.lgbv2-ty-narrow{ max-width:760px; }

/* ---------- Hero ---------- */
.lgbv2-ty-hero{
  background:linear-gradient(180deg,#eef5f0 0%,#ffffff 100%);
  padding:56px 0 48px;
}
.lgbv2-ty-hero-grid{ display:grid; gap:32px; align-items:center; }
.lgbv2-ty-eyebrow{
  display:inline-block;
  font-size:.82rem; font-weight:800; letter-spacing:.14em;
  color:var(--green); margin-bottom:14px;
}
.lgbv2-ty-h1{
  font-size:clamp(2rem,1.45rem + 4.2vw,3.1rem);
  font-weight:900; line-height:1.25; letter-spacing:.01em;
}
.lgbv2-ty-lead{
  margin-top:16px; font-size:clamp(1rem,1rem + .5vw,1.15rem);
  color:var(--ink-soft); line-height:1.8;
}
.lgbv2-ty-stage{
  background:#ffffff; border-radius:20px;
  box-shadow:var(--card-shadow);
  padding:28px; max-width:440px; margin:0 auto; width:100%;
}
.lgbv2-ty-stage img{ border-radius:12px; }

/* ---------- 章節 ---------- */
.lgbv2-ty-sec{ padding:56px 0; }
.lgbv2-ty-sec-alt{ background:var(--bg-alt); }
.lgbv2-ty-h2{
  font-size:clamp(1.5rem,1.2rem + 2vw,2.1rem);
  font-weight:900; letter-spacing:.01em; line-height:1.35;
  margin-bottom:28px;
}

/* ---------- 步驟卡 ---------- */
.lgbv2-ty-steps{ display:grid; gap:20px; }
.lgbv2-ty-card{
  background:#ffffff; border-radius:18px;
  box-shadow:var(--card-shadow);
  padding:28px 24px;
  display:flex; flex-direction:column; gap:12px;
}
.lgbv2-ty-no{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:var(--green); color:#ffffff;
  font-weight:900; font-size:1.05rem; letter-spacing:.04em;
}
.lgbv2-ty-card h3{ font-size:1.25rem; font-weight:800; line-height:1.4; }
.lgbv2-ty-card p{ color:var(--ink-soft); }
.lgbv2-ty-card .lgbv2-ty-btn{ margin-top:8px; }

/* ---------- 按鈕（防 WP 主題干擾） ---------- */
.lgbv2-ty-btn{
  display:inline-block; text-align:center;
  background:var(--green); color:#ffffff !important;
  font-weight:800; font-size:1rem; line-height:1.5;
  padding:14px 32px !important; border-radius:999px;
  text-decoration:none !important; border:0;
  text-shadow:none !important;
  transition:background .15s ease;
}
.lgbv2-ty a.lgbv2-ty-btn:hover{ background:var(--green-deep); color:#ffffff !important; }
.lgbv2-ty-btn-ghost{
  background:#ffffff !important; color:var(--green) !important;
  border:2px solid var(--green);
  padding:12px 28px !important;
}
.lgbv2-ty a.lgbv2-ty-btn-ghost:hover{ background:var(--green-soft) !important; }

/* ---------- Help ---------- */
.lgbv2-ty-help{
  margin-top:28px;
  background:var(--green-soft);
  border:1px solid #d9e9de;
  border-radius:16px;
  padding:24px;
}
.lgbv2-ty-help-title{ font-weight:800; font-size:1.05rem; margin-bottom:8px; }
.lgbv2-ty-help-text{ color:var(--ink-soft); font-size:.95rem; }
.lgbv2-ty-help-cta{ margin-top:16px; display:flex; flex-wrap:wrap; gap:12px; }
.lgbv2-ty-help-cta .lgbv2-ty-btn{ padding:10px 24px !important; font-size:.95rem; }

/* ---------- 注意事項 ---------- */
.lgbv2-ty-notes{ display:grid; gap:14px; }
.lgbv2-ty-notes li{
  position:relative; padding-left:28px; color:var(--ink-soft);
}
.lgbv2-ty-notes li::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:8px; height:8px; border-radius:50%;
  background:var(--green);
}

/* ---------- 跋 ---------- */
.lgbv2-ty-foot{
  border-top:1px solid var(--line);
  padding:32px 0 40px;
  text-align:center; color:var(--ink-mute); font-size:.9rem;
}

/* ---------- scroll reveal（JS 加 .is-js 後才隱藏；無 JS 直接可見） ---------- */
.lgbv2-ty.is-js [data-lgb2ty-reveal]{
  opacity:0; transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.lgbv2-ty.is-js [data-lgb2ty-reveal].is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .lgbv2-ty.is-js [data-lgb2ty-reveal]{ opacity:1; transform:none; transition:none; }
}

/* ---------- 桌機 ---------- */
@media (min-width:960px){
  .lgbv2-ty-hero{ padding:72px 0 64px; }
  .lgbv2-ty-hero-grid{ grid-template-columns:1.05fr .95fr; gap:48px; }
  .lgbv2-ty-sec{ padding:72px 0; }
  .lgbv2-ty-steps{ grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
  .lgbv2-ty-card{ padding:32px 28px; }
  .lgbv2-ty-card .lgbv2-ty-btn{ margin-top:auto; }
  .lgbv2-ty-help{ padding:28px 32px; }
}
