/* ============================================================================
   Glozzer 首頁互動＋靜態區塊（編排／雜誌風）。只有 index.html 載入這支。
   設計沿用 style.css 的 tokens；互動元件的視覺盡量貼近 app 的真實畫面
   （song-column / annotation list / home sidebar / notes）。
   ============================================================================ */

/* 內聯符號圖示：currentColor 隨文字色重新上色（同 app §十七.4）。 */
.gic { display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.gic svg { width: 100%; height: 100%; display: block; }

/* ── 區塊骨架（編排 spread） ─────────────────────────────────────────────── */
.home-sections { }
.feature { padding: clamp(44px, 8vw, 100px) 0; }
.feature + .feature { border-top: 1px solid var(--line2); }
.ft-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.ft-h { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.02em; line-height: 1.1;
  font-size: clamp(27px, 3.8vw, 38px); color: var(--ink); margin: 0; text-wrap: balance; }
.ft-sub { color: var(--ink2); margin: 14px 0 0; max-width: 30em; line-height: 1.65; }
.ft-head { max-width: 40em; }
.feature-annotate .aw { margin-top: clamp(22px, 3vw, 36px); }

.duo { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 4px; }
.duo .duo-visual { min-width: 0; }
.duo.rev .duo-visual { order: -1; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; gap: 26px; } .duo.rev .duo-visual { order: 0; } }

/* ══ 行銷標語（情境 → 兩句引號 → 提問）：桌機 Centered、手機 Structured（同結構縮小） ══ */
.slogan { min-height: 46vh; display: flex; align-items: center; padding: clamp(56px, 9vh, 104px) 0; text-align: center; }
.slogan .nb { white-space: nowrap; }   /* 引號句永不拆行 */
.slogan-lead { font-size: 16px; color: var(--muted); letter-spacing: .06em; margin: 0; }
.slogan-quotes { display: flex; flex-direction: column; gap: 14px; align-items: center; margin: 26px 0 40px; }
.slogan-quote { font-size: 27px; line-height: 1.4; font-weight: 500; color: var(--ink2); margin: 0; }
.slogan-quote::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--amber);
  vertical-align: middle; margin-right: 12px; opacity: .85; }
.slogan-ask { font-family: var(--font-brand); font-weight: 600; font-size: 42px; line-height: 1.35;
  letter-spacing: -.02em; color: var(--ink); margin: 0 auto; max-width: 19em; text-wrap: balance; }
@media (max-width: 767px) {
  .slogan { min-height: auto; padding: 68px 0; }
  .slogan-quotes { gap: 12px; margin: 20px 0 30px; }
  .slogan-quote { font-size: 20px; }
  .slogan-quote::before { width: 14px; margin-right: 10px; }
  .slogan-ask { font-size: 24px; max-width: 15em; }
}

/* scroll-reveal：進入視窗才淡入上浮（sections.js 的 IntersectionObserver 加 .in） */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.in { transition: none; }
}

/* ══ 互動：歌詞標記 + 註記列表 ══ */
.aw { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .aw { grid-template-columns: 1fr; } }
.aw-pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; min-height: 244px; min-width: 0; }
.aw-pane .ws-sec-h { padding: 0 14px; cursor: default; }
.aw-hint { font-size: 12px; color: var(--faint); margin-left: auto; }
.acount { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-left: auto; }

.track { padding: 4px 16px 20px; }
.tk-line { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1px; }
.tk { display: flex; flex-direction: column; align-items: center; border-radius: var(--r-sm); padding: 2px 2px 0; }
.tk-marks { min-height: 22px; display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; margin-bottom: 3px; }
.tk-mark { color: var(--ink); }
.tk-mark.pop { animation: markpop .28s var(--ease-out) both; }
.tk-char { font-size: 22px; line-height: 26px; color: var(--ink); padding: 1px 3px; border-radius: var(--r-sm); }
.tk.addable { cursor: pointer; }
.tk.addable .tk-char { box-shadow: inset 0 -2px 0 var(--accentLine); }
.tk.addable:hover .tk-char { background: var(--accentSoft); }
.tk.sync .tk-char { background: var(--accentSoft); }
.tk-plus { font-size: 11px; color: var(--faint); height: 13px; line-height: 13px; }
.tk.locked { cursor: default; }
.tk.locked .tk-plus { visibility: hidden; }

.alist { padding: 6px 10px 14px; overflow: auto; }
.alist-empty { color: var(--muted); font-size: 13px; padding: 14px 10px; border: 1px dashed var(--line);
  border-radius: var(--r-md); background: var(--sunken); text-align: center; }
.arow { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-md);
  border: 1px solid transparent; transition: background .12s var(--ease-out); }
.arow:hover { background: var(--sunken); }
.arow.sync { background: var(--accentSoft); }
.arow.pop { animation: rowin .28s var(--ease-out) both; }
.arow-glyph { flex: 0 0 18px; height: 18px; color: var(--ink); }
.arow-name { flex: 0 0 44px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; }
.arow-ctx { flex: 0 0 92px; display: flex; align-items: center; overflow: hidden; }
.arow-ctx .side { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 22px; }
.arow-ctx .side.l { text-align: right; -webkit-mask-image: linear-gradient(to right, transparent, #000 70%); mask-image: linear-gradient(to right, transparent, #000 70%); }
.arow-ctx .side.r { text-align: left; -webkit-mask-image: linear-gradient(to left, transparent, #000 70%); mask-image: linear-gradient(to left, transparent, #000 70%); }
.arow-ctx .an { flex: 0 0 auto; color: var(--ink); font-size: 15px; padding: 0 2px; }
.arow-note { flex: 1 1 auto; min-width: 52px; border: 0; background: transparent; font: inherit;
  font-size: 13px; color: var(--ink2); padding: 2px 0; outline: none; }
.arow-note::placeholder { color: var(--faint); }

/* capsule「全部符號」— 縮小、緊湊 */
.cap { position: fixed; z-index: 9999; background: var(--surface); border: 1px solid var(--line2);
  border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 8px 10px; max-width: min(360px, 92vw);
  animation: capin .13s var(--ease-out) both; transform-origin: top center; }
.cap-title { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; padding: 0 2px 6px; }
.cap-grp { display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: start; padding: 2px 0; }
.cap-grp-l { font-size: 12px; font-weight: 600; color: var(--ink2); padding-top: 8px; }
.cap-cells { display: flex; flex-wrap: wrap; gap: 2px; }
.cap-cell { width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px;
  border-radius: var(--r-sm); cursor: pointer; background: transparent; border: 0; font: inherit; color: var(--ink2);
  transition: background .12s var(--ease-out); }
.cap-cell:hover { background: var(--sunken); color: var(--ink); }
.cap-cell .gic { color: currentColor; }
.cap-cell-l { font-size: 11px; color: var(--ink2); text-align: center; line-height: 1.1; }

/* ══ 靜態→互動：工作區筆記／暖身 ══ */
.ws { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 12px 16px 16px; }
.ws-sec + .ws-sec { margin-top: 12px; border-top: 1px solid var(--line2); padding-top: 6px; }
.ws-sec-h { display: flex; align-items: center; gap: 6px; height: 36px; }
.ws-sec-h[data-sec] { cursor: pointer; }
.ws-grip { color: var(--faint); display: inline-flex; }
.ws-sec-t { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ws-chev { color: var(--muted); display: inline-flex; margin-left: auto; transition: transform .2s var(--ease-out); }
.ws-chev.closed { transform: rotate(-90deg); }
.ws-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .24s var(--ease-out); }
.ws-body.collapsed { grid-template-rows: 0fr; }
.ws-body-in { overflow: hidden; min-height: 0; }

.ncard { position: relative; display: flex; align-items: flex-start; gap: 6px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface); padding: 9px 34px 9px 10px; margin-top: 8px;
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.ncard:hover { border-color: var(--accentLine); box-shadow: var(--shadow-card); }
.ncard-dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 999px; background: var(--faint); margin-top: 8px; }
.ncard-col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ntext { flex: 1 1 auto; width: 100%; border: 0; background: transparent; font: inherit; font-size: 14px;
  color: var(--ink2); line-height: 1.55; outline: none; resize: none; overflow: hidden; padding: 0; min-height: 22px; }
.ntext::placeholder { color: var(--faint); }
.wtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wtag { font-size: 12px; color: var(--ink2); background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px 8px; }
.wtag b { color: var(--ink); font-weight: 600; }
.ncard-del { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border: 0; background: transparent;
  color: var(--muted); border-radius: var(--r-sm); cursor: pointer; opacity: 0; display: inline-flex; align-items: center;
  justify-content: center; transition: opacity .15s var(--ease-out), background .15s var(--ease-out); }
.ncard:hover .ncard-del { opacity: 1; }
.ncard-del:hover { background: var(--sunken); color: var(--ink); }
.addrow { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 10px;
  cursor: pointer; padding: 4px 2px; border-radius: var(--r-sm); }
.addrow:hover { color: var(--ink); }
.addrow .pl { width: 16px; height: 16px; border-radius: 999px; border: 1px dashed var(--faint); display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px; line-height: 1; }

/* ══ 靜態→互動：首頁曲庫（資料夾／工作區樹） ══ */
.tree { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 8px; max-width: 360px; user-select: none; -webkit-user-select: none; }
.trow { position: relative; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 8px;
  border-radius: var(--r-md); cursor: pointer; touch-action: none; }
.trow:hover { background: var(--hover); }
.trow.active { background: var(--selected); }
.trow.active .tname { color: var(--ink); font-weight: 600; }
.trow.lifted { opacity: .4; }
.trow.drop-into { background: var(--accentSoft); box-shadow: inset 0 0 0 1px var(--ink); }
.tchev { display: inline-flex; color: var(--muted); width: 14px; justify-content: center; transition: transform .18s var(--ease-out); }
.tchev.open { transform: rotate(90deg); }
.tspacer { width: 14px; display: inline-block; }
.ticon { display: inline-flex; color: var(--ink2); width: 18px; justify-content: center; }
.tname { flex: 1; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcount { font-size: 12px; color: var(--faint); }
.tree-hint { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; padding: 8px 8px 2px; }
.dropline { position: absolute; left: 8px; right: 8px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .1s var(--ease-out); }
.dropline.on { opacity: 1; }
.tghost { position: fixed; z-index: 9999; pointer-events: none; background: var(--surface); border: 1px solid var(--accentLine);
  border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 6px 12px; font-size: 14px; color: var(--ink); }

/* ══ 結尾 CTA ══ */
.cta-band { padding: clamp(64px, 10vw, 128px) 0; text-align: center; border-top: 1px solid var(--line2); }
.cta-kicker { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; line-height: 1.04;
  font-size: clamp(40px, 7vw, 72px); color: var(--ink); margin: 0; text-wrap: balance; }
/* 品牌名用 logo 字型（Fraunces），與 hero 的 wordmark 一致；其餘用內文 sans。 */
.cta-kicker .wm { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.02em; }
.cta-band .cta { margin-top: 30px; }

/* ── keyframes ── */
@keyframes markpop { from { opacity: 0; transform: translateY(4px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes capin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .tk-mark.pop, .arow.pop, .cap { animation: none !important; }
  .ws-body, .ws-chev, .tchev, .dropline, .arow, .cap-cell, .ncard { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   首頁改版新增區塊（2026-08）：跨平台、下載（QR＋商店 badge）、適合誰、問 AI 帶。
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 跨平台：真機截圖 ＋ 文案（沿用 .duo 骨架） ── */
.shot { display: flex; justify-content: center; }
.shot img { width: 100%; max-width: 258px; height: auto; display: block; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-focus); }
/* 跨裝置示意（Cloud）：雲＝雙端同步，兩台裝置各自同步上去。安靜、灰階＋一點琥珀，
   刻意壓低不搶文字。日後換實際畫面＝改用上面的 .shot > img 即可。 */
.cv { max-width: 420px; margin: 0 auto; color: var(--ink2); }
.cvi { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cv-cloud { display: flex; flex-direction: column; align-items: center; }
.cv-cloud .hub { display: inline-flex; color: var(--ink2); }
.cv-cloud .hub svg { width: 40px; height: 40px; }
.cv-cloud .conn { color: var(--line); }
.cv-cloud .conn .dot { fill: var(--amber); stroke: none; }
.cv-cloud .devs { display: flex; gap: 96px; color: var(--ink2); margin-top: 2px; }
.cv-cloud .devs svg { width: 34px; height: 34px; }

/* ── Hero 下載入口（Editorial）：三顆入口＋hover QR popover ── */
.hero .value { font-size: 17px; line-height: 1.7; color: var(--ink2); max-width: 30em; margin: 22px 0 0; text-wrap: balance; }
.dl3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.dlbtn { position: relative; display: inline-flex; transition: transform 140ms var(--ease-out); }
.dlbtn:active { transform: scale(.97); }
.dlbtn img { height: 52px; width: auto; display: block; }
.qrpop { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) scale(.96);
  transform-origin: bottom center; opacity: 0; visibility: hidden; pointer-events: none; z-index: 30;
  background: var(--surface); border: 1px solid var(--line2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: 12px; text-align: center;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms; }
.qrpop img { width: 132px; height: 132px; display: block; }
.qrpop > span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.qrpop::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--surface); filter: drop-shadow(0 1px 0 var(--line2)); }
@media (hover: hover) and (pointer: fine) {
  .dlbtn:hover .qrpop, .dlbtn:focus-within .qrpop { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
}
.browserlink { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-sans); font-weight: 600;
  font-size: 14px; color: var(--ink); text-decoration: none; padding: 8px 4px; border-bottom: 1px solid var(--line);
  transition: border-color .15s var(--ease-out); }
.browserlink:hover { border-color: var(--ink); }
.browserlink .arrow, .browserbtn .arrow { transition: transform .2s var(--ease-out); }
.browserlink:hover .arrow, .browserbtn:hover .arrow { transform: translateX(3px); }

/* 手機版 hero 下載入口：桌機頁首已提供下載＋網頁版（hero 保持乾淨）；手機頁首收進漢堡，
   故 hero 補回可見的下載鈕＋網頁版。桌機隱藏、≤820 顯示。 */
.dl-hero-m { display: none; }
@media (max-width: 820px) {
  .dl-hero-m { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 22px; }
  .dl-hero-m-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .dl-hero-m-row img { height: 46px; width: auto; display: block; }
  .dlbtn-m { display: inline-flex; transition: transform 140ms var(--ease-out); }
  .dlbtn-m:active { transform: scale(.97); }
  /* 暫時隱藏「手機版」的 web 版（app.glozzer.com）入口：手機 web 版問題較多，先不從行銷頁導過去。
     網址本身仍可用、桌機入口保留。手機 web 版修好後移除以下兩行即可。 */
  .dl-hero-m .browserlink { display: none; }
  .download .browserbtn { display: none; }
}

/* ── 下載區（Band）：左＝標題＋三點保證＋瀏覽器版；右＝badge＋QR ── */
.download { padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid var(--line2); }
.download .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dl-h { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(30px, 4vw, 46px); color: var(--ink); margin: 8px 0 0; text-wrap: balance; }
.reassure { list-style: none; padding: 0; margin: 20px 0 0; }
.reassure li { position: relative; padding-left: 24px; color: var(--ink2); font-size: 15px; line-height: 1.5; margin-top: 10px; }
.reassure li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.browserbtn { display: inline-flex; align-items: center; gap: .4em; margin-top: 24px; font-family: var(--font-sans);
  font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 20px;
  transition: border-color .15s var(--ease-out), transform .12s var(--ease-out); }
.browserbtn:hover { border-color: var(--ink); }
.browserbtn:active { transform: scale(.97); }
.dl-side { display: flex; gap: clamp(20px, 3vw, 44px); justify-content: center; flex-wrap: wrap; }
.dlunit { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dlunit .badge-a { display: inline-flex; transition: transform 140ms var(--ease-out); }
.dlunit .badge-a:active { transform: scale(.97); }
.dlunit .badge-a img { height: 50px; width: auto; display: block; }
.dlunit .qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dlunit .qr img { width: 146px; height: 146px; display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 8px; }
.dlunit .qr span { font-size: 12px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .dlunit .badge-a { pointer-events: none; } }
/* 手機：QR 用不到（改直接點 badge）而收起；「使用瀏覽器版」入口保留顯示（web 版已可用） */
@media (hover: none) and (pointer: coarse) { .dlunit .qr { display: none; } }
/* 手機下載入口：badge 縮小好並排一行 */
@media (max-width: 767px) { .dlbtn img { height: 44px; } .dlunit .badge-a img { height: 44px; } .dl-side { gap: 16px; } }
@media (max-width: 820px) { .download .container { grid-template-columns: 1fr; } }

/* ── 適合誰：三張人物卡 ── */
.who { padding: clamp(44px, 8vw, 100px) 0; border-top: 1px solid var(--line2); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(20px, 3vw, 34px); }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }
.who-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 20px 20px 22px; }
.who-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.who-card p { color: var(--ink2); font-size: 14.5px; line-height: 1.68; margin: 0; }
.who-trust { margin-top: 24px; text-align: center; font-size: 13.5px; color: var(--muted); }
.who-trust a { color: var(--ink2); }

/* ── 問 AI 帶：複製說明網址 ＋ 看完整說明 ── */
.askai { padding: clamp(44px, 8vw, 96px) 0; border-top: 1px solid var(--line2); }
.askai-card { background: var(--sunken); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(26px, 4vw, 44px); text-align: center; }
.askai-h { font-family: var(--font-brand); font-weight: 600; font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.askai-sub { color: var(--ink2); max-width: 34em; margin: 12px auto 0; line-height: 1.7; }
.askai-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.copybtn { display: inline-flex; align-items: center; gap: .45em; cursor: pointer; font: inherit;
  font-size: 14px; font-weight: 600; color: #fff; background: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--r-pill); padding: 11px 20px; transition: transform .12s var(--ease-out), box-shadow .2s var(--ease-out); }
.copybtn:hover { box-shadow: var(--shadow-focus); }
.copybtn:active { transform: scale(.97); }
.copybtn.done { background: var(--surface); color: var(--ink); }
.copybtn svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; }
.askai-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: 14px;
  color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 11px 20px; transition: border-color .15s var(--ease-out); }
.askai-link:hover { border-color: var(--ink); }
/* 網址框 ＋ 複製鈕（明確顯示要貼給 AI 的網址） */
.urlcopy { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 6px 5px 16px; }
.urlcopy-url { font-size: 14px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.urlcopy-btn { display: inline-flex; align-items: center; gap: .4em; flex: 0 0 auto; cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--r-pill); padding: 8px 14px; transition: transform .12s var(--ease-out), box-shadow .2s var(--ease-out); }
.urlcopy-btn:hover { box-shadow: var(--shadow-focus); }
.urlcopy-btn:active { transform: scale(.97); }
.urlcopy-btn.done { background: var(--surface); color: var(--ink); }
.urlcopy-btn svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .copybtn, .dl-badges a { transition: none; } }

/* 手機：主要區塊上下多點呼吸感（放檔尾，蓋過各區 base 的 clamp padding） */
@media (max-width: 767px) {
  .feature, .who, .askai, .download { padding-top: 54px; padding-bottom: 54px; }
}
