/* 我的血壓 (BPCare) 官網 — 溫和醫療風:米白底、深青綠主色、白色大圓角卡片。2026-09 1.1 改版(頁面由 App repo docs/website/build_site.py 產生) */
:root {
  color-scheme: light dark;
  --bg: #F4F1EC; --bg2: #EAF2F0; --card: #FFFFFF; --fill: #F7F5F0; --border: #ECE7DE;
  --ink: #1F2A2E; --ink2: #56636A; --ink3: #7C878B;
  --primary: #2E7A70; --primary-soft: #E3F0EE; --primary-deep: #1F625A;
  --warm: #C0672A; --warm-soft: #FBEEDD; --danger: #A12E27; --danger-soft: #FAE0DE;
  --radius: 22px; --shadow: 0 10px 30px rgba(31, 42, 46, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131718; --bg2: #172221; --card: #1E2425; --fill: #283031; --border: #2B3334;
    --ink: #ECEAE5; --ink2: #A9B3B6; --ink3: #7D888C;
    --primary: #5BAFA2; --primary-soft: #1C3531; --primary-deep: #9AD6CB;
    --warm: #E7A56A; --warm-soft: #352A1C; --danger: #F08B83; --danger-soft: #3B1D1B;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, "SF Pro Text", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.8; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--primary); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }

/* 頁首 */
header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
nav { margin-left: auto; display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--ink2); text-decoration: none; font-weight: 650; font-size: .98rem; }
nav a.active, nav a:hover { color: var(--primary); }
nav a.nav-cta { background: var(--primary); color: #fff; padding: 6px 16px; border-radius: 999px; }
nav a.nav-cta:hover { color: #fff; opacity: .9; }

main { padding: 28px 0 80px; }
h1 { font-size: 2.2rem; line-height: 1.3; margin: 12px 0; letter-spacing: .01em; }
h2 { font-size: 1.3rem; margin: 30px 0 6px; line-height: 1.4; }
h3 { font-size: 1.12rem; margin: 0 0 6px; line-height: 1.45; }
p, li { color: var(--ink2); }
.lead { font-size: 1.16rem; color: var(--ink2); }
.muted { color: var(--ink3); }
.small { font-size: .92rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--primary);
  background: var(--primary-soft); padding: 3px 12px; border-radius: 999px; }
.tag.warm { color: var(--warm); background: var(--warm-soft); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.note { background: var(--danger-soft); color: var(--danger); border-radius: 16px; padding: 16px 20px; margin-top: 32px; }
.lang-switch { margin: -6px 0 22px; font-weight: 700; }
.en-section { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-decoration: none; color: var(--primary-deep);
  background: var(--primary-soft); padding: 13px 20px; border-radius: 14px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-decoration: none; color: #fff;
  background: var(--primary); padding: 13px 22px; border-radius: 14px; }
.btn-appstore { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff !important; text-decoration: none;
  height: 56px; padding: 0 22px; line-height: 1.15; border-radius: 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .2); border: 1px solid rgba(255,255,255,.15); }
.btn-appstore svg { width: 24px; height: 24px; fill: currentColor; }
.btn-appstore .sub { font-size: .72rem; opacity: .85; line-height: 1.1; }
.btn-appstore .title { font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
/* 下載按鈕旁的按鈕與 App Store 按鈕同高 */
.actions > .btn-ghost, .actions > .btn-primary { height: 56px; padding: 0 22px; box-sizing: border-box; }

/* 首頁主視覺 */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 26px 0 8px; }
.hero h1 { font-size: 2.5rem; }
.hero h1 .nw { white-space: nowrap; }
/* 主視覺右側:兩支手機並排、不重疊,底下是淡青綠色圓角底 */
.hero-phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; padding: 34px 20px 26px;
  background: linear-gradient(160deg, var(--primary-soft), var(--bg2)); border-radius: 36px; }
.hero-phones figure { margin: 0; text-align: center; }
.hero-phones figure:nth-child(2) { margin-top: 44px; }
.hero-phones .phone { width: 210px; }
.hero-phones figcaption { margin-top: 12px; font-weight: 750; color: var(--primary-deep); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; font-size: .92rem; color: var(--ink2); font-weight: 650; }

.section { margin-top: 84px; }
.section-head { max-width: 760px; }
.section-head h2 { font-size: 2rem; margin: 12px 0 8px; line-height: 1.35; color: var(--ink); }
.section-head p { font-size: 1.08rem; }
.band { background: var(--bg2); border-radius: 36px; padding: 52px 40px; }

/* 台灣在地細節 */
.tw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.tw { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tw .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.tw h3 { margin-top: 14px; }
.tw p { margin: 0; font-size: .98rem; }
.tw .src { display: block; margin-top: 10px; font-size: .82rem; color: var(--ink3); }
.tw .src a { color: var(--ink3); }

/* 一天的陪伴 */
.day { margin-top: 34px; display: grid; gap: 22px; }
.moment { display: grid; grid-template-columns: 110px 1fr 220px; gap: 24px; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.moment .time { font-size: 1.6rem; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.2; }
.moment .time small { display: block; font-size: .85rem; color: var(--ink3); font-weight: 650; }
.moment h3 { font-size: 1.25rem; }
.moment p { margin: 0; }
.moment .shot { border: 5px solid #1D2426; border-radius: 22px; overflow: hidden; background: #000; height: 230px; }
.moment .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.moment .shot img.bottom { object-position: bottom; }
.moment .shot img.middle { object-position: center 40%; }

/* 新功能 showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-top: 30px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.showcase.flip .text { order: 2; }
.showcase h3 { font-size: 1.5rem; margin: 8px 0 8px; }
.showcase ul { padding-left: 1.2em; margin: 10px 0 0; }
.showcase li { margin: 4px 0; }
.new { display: inline-block; background: #E8833A; color: #fff; font-size: .74rem; font-weight: 800; border-radius: 6px; padding: 1px 8px; letter-spacing: .05em; }
.phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.phone { width: 200px; flex: none; border: 6px solid #1D2426; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 10px 28px rgba(31, 42, 46, .22); }
.phone img { width: 100%; display: block; }
.phones .phone:nth-child(2) { margin-top: 38px; }
.illus img { width: 100%; border-radius: 20px; display: block; }

/* 功能總覽 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin: 0; font-size: .96rem; }

/* 畫面一覽 */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 22px; margin-top: 22px; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: start; text-align: center; }
.gallery figcaption { margin-top: 10px; font-weight: 700; color: var(--ink2); font-size: .95rem; }
.gallery .phone { width: 180px; }
.watch { width: 170px; border: 8px solid #1D2426; border-radius: 40px; overflow: hidden; background: #000; box-shadow: 0 10px 28px rgba(31,42,46,.22); }
.watch img { width: 100%; display: block; }
.widget { width: 180px; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 28px rgba(31,42,46,.18); }
.widget.wide { width: 340px; }
.widget img { width: 100%; display: block; }
.gallery .widget { align-self: center; }

/* 步驟 */
.steps2 { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: s; }
.steps2 li { counter-increment: s; position: relative; padding-left: 44px; margin: 10px 0; }
.steps2 li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .95rem; }

/* 參考文獻 */
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.ref { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.ref b { color: var(--ink); display: block; line-height: 1.45; }
.ref .pub { font-size: .88rem; color: var(--ink3); }
.ref .use { font-size: .92rem; margin-top: 6px; color: var(--ink2); }
.ref a { font-size: .86rem; word-break: break-all; }
table.src-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .96rem; }
.src-table th { text-align: left; background: var(--primary); color: #fff; padding: 10px 14px; font-weight: 700; }
.src-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--ink2); }
.src-table td b { color: var(--ink); }
.src-table tr:nth-child(even) td { background: var(--fill); }

/* 說明書 CTA */
.manual-cta { display: grid; grid-template-columns: 170px 1fr auto; gap: 30px; align-items: center; background: var(--primary);
  color: #fff; border-radius: 32px; padding: 30px 36px; margin-top: 84px; }
.manual-cta p, .manual-cta h2 { color: #fff; margin: 0; }
.manual-cta h2 { font-size: 1.6rem; margin-bottom: 6px; }
.manual-cta .cover { width: 170px; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.3); transform: rotate(-3deg); display: block; }
.manual-cta a { background: #fff; color: var(--primary-deep); font-weight: 800; text-decoration: none; padding: 14px 22px; border-radius: 14px; white-space: nowrap; }

/* FAQ */
.faq { margin-top: 22px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; }
.faq summary { font-weight: 750; cursor: pointer; color: var(--ink); }
.faq details p { margin: 10px 0 0; }

/* 使用教學頁 */
.toc-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc-bar a { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 650; font-size: .94rem; color: var(--ink2); }
.guide-sec { margin-top: 64px; }
.guide-sec > h2 { font-size: 1.75rem; margin: 10px 0 6px; color: var(--ink); }
.shot-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.shot-row figure { margin: 0; width: 190px; }
.shot-row figure .phone { width: 100%; }
.shot-row.six figure { width: 158px; }
.two-col .shot-row figure { width: 155px; }
.shot-row figcaption { font-size: .9rem; color: var(--ink2); margin-top: 8px; text-align: center; font-weight: 650; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-top: 18px; }
.box { border-radius: 16px; padding: 14px 18px; margin-top: 14px; font-size: .98rem; }
.box.tip { background: var(--primary-soft); color: var(--primary-deep); }
.box.warn { background: var(--danger-soft); color: var(--danger); }
.box.info { background: var(--warm-soft); color: var(--warm); }
.box > b { display: block; margin-bottom: 2px; }
.cite { display: inline-block; font-size: .86rem; color: var(--ink3); margin-top: 8px; }

footer { border-top: 1px solid var(--border); padding: 44px 0 40px; color: var(--ink3); font-size: .92rem; background: var(--card); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { margin: 10px 0 16px; font-size: .95rem; }
.foot-col h4 { margin: 4px 0 10px; color: var(--ink); font-size: .98rem; }
.foot-col a { display: block; color: var(--ink2); text-decoration: none; margin: 6px 0; }
.foot-col a:hover { color: var(--primary); }
.foot-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .86rem; }

[hidden] { display: none !important; }
.zoom img { cursor: zoom-in; }

/* 8 張 App Store 宣傳圖 */
.store-strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 24px; margin-top: 22px; }
.store-strip figure { margin: 0; flex: none; width: 228px; scroll-snap-align: start; text-align: center; }
.store-strip img { width: 100%; display: block; border-radius: 26px; box-shadow: 0 12px 30px rgba(31, 42, 46, .16); }
.store-strip figcaption { margin-top: 10px; font-weight: 700; color: var(--ink2); font-size: .95rem; }

/* Apple Watch */
.watch-show { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.watch-show h2 { font-size: 2rem; margin: 12px 0 10px; color: var(--ink); }
.watches { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.watches .watch { width: 148px; }
.watches figure, .shot-row figure.w { margin: 0; text-align: center; }
.watches figure:nth-child(2) { margin-top: 30px; }
.watches figcaption, .gallery figcaption { margin-top: 10px; font-weight: 700; color: var(--ink2); font-size: .92rem; }
.shot-row .watch { width: 150px; }
ul.checks { list-style: none; padding: 0; margin: 12px 0 0; }
ul.checks li { position: relative; padding-left: 30px; margin: 8px 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 4px;
  background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.family-shots { margin-top: 26px; flex-wrap: wrap; }

/* 為長輩設計 */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.care { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 22px; box-shadow: var(--shadow); }
.care-shot { height: 250px; border-radius: 16px; overflow: hidden; background: var(--fill); margin-bottom: 14px; }
.care-shot img { width: 100%; display: block; }
.care h3 { font-size: 1.1rem; }
.care p { margin: 0; font-size: .96rem; }

/* 畫面一覽分類 */
.tabs { display: flex; gap: 8px; overflow-x: auto; margin-top: 22px; padding-bottom: 4px; }
.tabs button { flex: none; font: inherit; font-size: .95rem; font-weight: 700; color: var(--ink2); background: var(--card);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 隱私 */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.promise > div { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.promise .ic { font-size: 1.6rem; }
.promise h3 { margin-top: 8px; }
.promise p { margin: 0; font-size: .96rem; }

/* 價格 */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; max-width: 860px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--primary); }
.plan .price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.plan .badge { position: absolute; top: -13px; right: 22px; background: var(--primary); color: #fff; font-size: .8rem; font-weight: 800; border-radius: 999px; padding: 3px 12px; }

/* 最後的下載 */
.cta-final { margin-top: 84px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
  background: var(--bg2); border-radius: 36px; padding: 36px; }
.cta-illus { width: 100%; border-radius: 26px; display: block; }
.cta-icon { border-radius: 18px; box-shadow: var(--shadow); }
.cta-final h2 { font-size: 2rem; margin: 12px 0 6px; color: var(--ink); }

/* 其他 App */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.app-card { display: grid; grid-template-columns: 80px 1fr; gap: 6px 18px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.app-card > img { width: 80px; height: 80px; border-radius: 18px; }
.app-card h3 { font-size: 1.2rem; margin: 2px 0 2px; color: var(--ink); }
.app-card .tagline { color: var(--primary); font-weight: 750; margin: 0 0 6px; }
.app-card p { margin: 0 0 8px; font-size: .96rem; }
.app-card .btn-ghost { grid-column: 2; justify-self: start; padding: 9px 16px; font-size: .95rem; }
.app-feats { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.app-feats li { background: var(--fill); border-radius: 999px; padding: 2px 11px; font-size: .84rem; font-weight: 650; }

/* 使用教學:介面導覽 */
.tour-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
.tour .phone { width: 100%; }
.tour h3 { margin: 12px 0 4px; }
.tour p { margin: 0; font-size: .92rem; }

/* 橫向列表的左右箭頭與邊緣淡出(箭頭由 JS 加上) */
.scroller { position: relative; }
.scroll-btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--primary-deep); box-shadow: 0 8px 22px rgba(31, 42, 46, .22);
  font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.scroll-btn:hover { background: var(--primary); color: #fff; }
.scroll-btn.prev { left: -12px; }
.scroll-btn.next { right: -12px; }
.scroll-btn[disabled] { opacity: 0; pointer-events: none; }
.scroller.fade-r .gallery, .scroller.fade-r .store-strip { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.scroller.fade-l .gallery, .scroller.fade-l .store-strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
.scroller.fade-l.fade-r .gallery, .scroller.fade-l.fade-r .store-strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* 截圖放大 */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 15, .88); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox figure { margin: 0; text-align: center; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 90px); max-width: min(92vw, 560px); border-radius: 22px; display: block; margin: 0 auto; cursor: default; }
.lightbox figcaption { color: #fff; margin-top: 10px; font-weight: 700; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .hero, .showcase, .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-phones .phone { width: 170px; }
  .cta-final { grid-template-columns: 1fr; text-align: center; }
  .cta-final .actions { justify-content: center; }
  .cta-illus { max-width: 520px; margin: 0 auto; }
  .showcase { padding: 24px 20px; }
  .showcase.flip .text { order: 0; }
  .tw-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .refs { grid-template-columns: 1fr; }
  .moment { grid-template-columns: 1fr; }
  .moment .shot { height: 200px; max-width: 220px; }
  .band { padding: 34px 20px; border-radius: 26px; }
  .manual-cta { grid-template-columns: 1fr; text-align: center; }
  .manual-cta .cover { margin: 0 auto; width: 140px; }
  .phone { width: 150px; border-width: 5px; border-radius: 24px; }
  .shot-row figure { width: 150px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .watch-show { grid-template-columns: 1fr; padding: 26px 20px; }
  .watch-show h2, .cta-final h2 { font-size: 1.6rem; }
  .watch, .watches .watch { width: 130px; border-width: 6px; border-radius: 32px; }
  .care-grid, .promise { grid-template-columns: 1fr 1fr; }
  .apps { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: repeat(3, 1fr); }
  .store-strip figure { width: 190px; }
  .widget.wide { width: 300px; }
}
@media (max-width: 640px) {
  /* 三欄的參考文獻表格在手機上改成一筆一段,網址欄才不會被擠成直排 */
  .src-table.stack, .src-table.stack tbody, .src-table.stack tr, .src-table.stack td { display: block; width: 100% !important; }
  .src-table.stack tr:first-child { display: none; }
  .src-table.stack tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .src-table.stack td { border-bottom: 0; padding: 4px 10px; }
}
@media (max-width: 560px) {
  header { position: static; }
  body { font-size: 16.5px; }
  .tw-grid, .grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.6rem; }
  .card { padding: 26px 20px; }
  nav { margin-left: 0; gap: 4px 14px; }
  .src-table { font-size: .9rem; }
  .hero-phones { gap: 12px; padding: 24px 10px 20px; border-radius: 26px; }
  .hero-phones .phone { width: 148px; }
  .hero-phones figure:nth-child(2) { margin-top: 30px; }
  .hero-phones figcaption { font-size: .85rem; }
  .cta-final { padding: 22px 18px 30px; border-radius: 26px; }
  .care-grid, .promise, .pricing { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr 1fr; }
  .watch, .watches .watch { width: 98px; border-width: 5px; border-radius: 24px; }
  .watches { gap: 8px; flex-wrap: nowrap; }
  .watches figure:nth-child(2) { margin-top: 0; }
  .watches figcaption { font-size: .8rem; }
  .care-shot { height: 210px; }
  .app-card { grid-template-columns: 56px 1fr; padding: 20px 18px; }
  .app-card > img { width: 56px; height: 56px; border-radius: 13px; }
  .widget.wide { width: 100%; max-width: 320px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; transform: none; }
  .scroll-btn { width: 42px; height: 42px; font-size: 1.6rem; }
  .scroll-btn.prev { left: -4px; }
  .scroll-btn.next { right: -4px; }
}
