/* 譯起聊 官網共用樣式（首頁、使用方式、支援語言、方案、常見問題；隱私權政策和服務條款另有自己的樣式）
   設計原則：
   1. 使用者「打出來的字」一律畫成 LINE 綠色對話泡泡（指令、/付費），跟示範畫面一致。
   2. 最搶眼的只有一處：Hero 的群組示範。切換語言時，標題下方的譯文也跟著換。
   3. 其他區塊保持安靜：左對齊、留白、細線分隔。
*/
:root {
  --paper: #F3F8F4;
  --surface: #FFFFFF;
  --ink: #0F2A1F;
  --muted: #4D6559;
  --line: #D3E2D8;
  --green: #0C8043;
  --on-green: #FFFFFF;
  --leaf: #2EBD5F;
  --on-leaf: #062012;
  --gold: #F2B630;
  --deep: #0F2A1F;
  --on-deep: #F0F7F2;
  --on-deep-muted: #A9C4B5;
  --chat: #D8E3EC;
  --bubble: #FFFFFF;
  --bubble-me: #B9EE9E;
  --bubble-line: #E1E8EE;
  --shadow: 0 1px 2px rgba(15, 42, 31, .06), 0 24px 48px -24px rgba(15, 42, 31, .32);
  --f-display: "Chiron GoRound TC", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1611; --surface: #13211A; --ink: #E5EFE9; --muted: #97AEA1; --line: #233629;
    --green: #3CCB7A; --on-green: #052012; --leaf: #3CCB7A; --on-leaf: #052012; --gold: #E7B43E;
    --deep: #183A2A; --on-deep: #F0F7F2; --on-deep-muted: #A9C4B5;
    --chat: #19242E; --bubble: #233140; --bubble-me: #2B6340; --bubble-line: #2F3F4E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1611; --surface: #13211A; --ink: #E5EFE9; --muted: #97AEA1; --line: #233629;
  --green: #3CCB7A; --on-green: #052012; --leaf: #3CCB7A; --on-leaf: #052012; --gold: #E7B43E;
  --deep: #183A2A; --on-deep: #F0F7F2; --on-deep-muted: #A9C4B5;
  --chat: #19242E; --bubble: #233140; --bubble-me: #2B6340; --bubble-line: #2F3F4E;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.3; letter-spacing: .01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--deep); color: var(--on-deep); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 打出來的字＝綠色泡泡 */
.typed { display: inline-flex; align-items: center; padding: .16em .72em; border-radius: 1em .32em 1em 1em; background: var(--bubble-me); color: var(--ink); font-weight: 700; line-height: 1.55; white-space: nowrap; }

/* 按鈕與 LINE ID */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--green); color: var(--on-green); font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:hover { background: color-mix(in srgb, var(--green) 86%, #000); }
.btn:active { transform: translateY(1px); }
.btn-leaf { background: var(--leaf); color: var(--on-leaf); }
.btn-leaf:hover { background: color-mix(in srgb, var(--leaf) 88%, #fff); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--green); }
.line-id { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; line-height: 1.4; }
.line-id strong { color: var(--ink); font-size: 16px; letter-spacing: .02em; }
.btn-copy { padding: 7px 14px; border: 0; border-radius: 999px; background: var(--paper); color: var(--green); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.btn-copy:hover { box-shadow: inset 0 0 0 1px var(--green); }
.btn-copy.is-done { background: var(--green); color: var(--on-green); box-shadow: none; }

/* 頁首 */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.top .btn { padding: 9px 18px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 96px); align-items: start; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.hero-copy { padding-top: clamp(24px, 5vw, 76px); }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.22; letter-spacing: .02em; }
.echo { margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--leaf); max-width: 32em; }
.echo-tag { display: block; color: var(--green); font-size: 13px; font-weight: 700; line-height: 1.6; }
.echo-text { display: block; color: var(--muted); font-size: 17px; line-height: 1.6; }
.lede { margin-top: 24px; max-width: 30em; font-size: 19px; line-height: 1.85; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 32px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 14px; }
/* 新功能的小標籤：點了跳到語音翻譯的介紹 */
.news { margin-bottom: 22px; }
.news a { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.news a:hover { box-shadow: inset 0 0 0 1px var(--green); }
.news a::after { content: ""; flex: none; width: 14px; height: 14px; background: var(--green); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.news-tag { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 12.5px; }

/* 群組示範 */
.demo { min-width: 0; }
.demo-label { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.tabs button { padding: 7px 4px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14px; line-height: 1.3; cursor: pointer; }
.tabs button:hover { box-shadow: inset 0 0 0 1px var(--green); }
.tabs button[aria-selected="true"] { background: var(--deep); color: var(--on-deep); box-shadow: none; font-weight: 700; }
.phone { display: grid; overflow: hidden; border-radius: 30px; background: var(--chat); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.convo { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.convo.is-on { visibility: visible; }
.bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--bubble-line); font-size: 15px; font-weight: 700; line-height: 1.3; }
.bar .count { color: var(--muted); font-weight: 400; }
.bar .ico { color: var(--muted); }
.bar .tools { display: flex; gap: 14px; margin-left: auto; }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 16px 12px 20px; font-size: 14px; line-height: 1.5; }
.inputbar { grid-area: 2 / 1; display: flex; align-items: center; gap: 12px; padding: 10px 14px 14px; background: var(--surface); border-top: 1px solid var(--bubble-line); color: var(--muted); font-size: 14px; }
.inputbar .field { flex: 1; padding: 7px 14px; border-radius: 999px; background: var(--paper); }
.msg { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.msg.me { justify-content: flex-end; align-items: flex-end; gap: 6px; }
.av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c, #64748B); color: #fff; font-size: 13px; font-weight: 700; }
.av.bot { background: url(logo.png) center / cover no-repeat; }
.col { display: flex; flex-direction: column; gap: 3px; min-width: 0; max-width: 82%; }
.who { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.row { display: flex; align-items: flex-end; gap: 6px; min-width: 0; }
.msg time { flex: none; color: var(--muted); font-size: 10.5px; line-height: 1.2; }
.bubble { min-width: 0; padding: 8px 12px; border-radius: 6px 18px 18px 18px; background: var(--bubble); color: var(--ink); overflow-wrap: anywhere; }
.bubble p + p { margin-top: .8em; }
.msg.me .bubble { max-width: 78%; border-radius: 18px 6px 18px 18px; background: var(--bubble-me); }
.bubble.reply { padding: 0; overflow: hidden; }
.quote { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 8px; padding: 8px 12px 7px; border-bottom: 1px solid var(--bubble-line); }
.qav { grid-row: span 2; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10px; font-weight: 700; }
.quote b { font-size: 12px; line-height: 1.4; }
.qt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.tr { padding: 8px 12px 9px; font-size: 15px; }
.demo-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
/* 標了語言的字（示範畫面裡的外文等）。用屬性選擇器：只套用在有 lang 屬性的元素，整頁就是那個語言時不會蓋掉標題字型 */
[lang="th"] { font-family: "Noto Sans Thai", "Leelawadee UI", Thonburi, var(--f-body); }
[lang="ja"] { word-break: auto-phrase; }
[lang="ko"] { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", var(--f-body); word-break: keep-all; }
@media (prefers-reduced-motion: no-preference) {
  .convo.is-play .msg { animation: msg-in .42s cubic-bezier(.2, .75, .25, 1) both; }
  .convo.is-play .msg:nth-child(2) { animation-delay: .2s; }
  .convo.is-play .msg:nth-child(3) { animation-delay: .4s; }
  .convo.is-play .msg:nth-child(4) { animation-delay: .6s; }
  .convo.is-play .msg:nth-child(5) { animation-delay: .8s; }
  .convo.is-play .msg:nth-child(6) { animation-delay: 1s; }
  @keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* 區塊共用 */
.section { padding-block: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-lede { margin-top: 14px; max-width: 34em; color: var(--muted); font-size: 18px; }

/* 三個步驟 */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { padding-top: 22px; border-top: 2px solid var(--ink); }
.step-n { display: block; margin-bottom: 14px; color: var(--green); font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 1; }
.steps h3 { margin-bottom: 8px; font-size: 22px; }
.steps p { color: var(--muted); }
/* 第 3 步的小圖：長得像機器人送出的語言選單按鈕 */
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pick { display: inline-flex; flex-direction: column; padding: 7px 14px 8px 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 12px; line-height: 1.4; }
.pick b { color: var(--ink); font-size: 15px; }

/* 支援語言 */
.specimen { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--line); }
.specimen li { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; min-height: 172px; padding: 24px 22px 20px; background: var(--surface); }
.native { font-size: clamp(24px, 2.5vw, 31px); font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 15px; }
.specimen .hub { background: var(--deep); color: var(--on-deep); }
.hub .native { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); }
.hub-note { color: var(--on-deep-muted); font-size: 15px; line-height: 1.6; }

/* 特色 */
.features { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.features li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.features .ico { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--leaf) 16%, var(--surface)); color: var(--green); stroke-width: 1.9; }
.features h3 { margin-bottom: 6px; font-size: 20px; }
.features p { color: var(--muted); }
.features .typed { font-size: 14px; }
.features .feat-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: center; }
.feat-copy { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.feat-copy > :not(.ico) { grid-column: 2; }
.feat-note { margin-top: 12px; font-size: 15px; }
.bg-demo { border-radius: 24px; background: var(--chat); }
.bg-demo .chat { padding: 18px 14px; }
@media (max-width: 720px) { .features .feat-wide { grid-template-columns: minmax(0, 1fr); } }

/* 語音翻譯：左邊說明，右邊是傳語音的示範 */
.voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 2px 12px; border-radius: 999px; background: color-mix(in srgb, var(--leaf) 18%, var(--surface)); color: var(--green); font-size: 14px; font-weight: 700; line-height: 1.7; }
.voice-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.voice-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-content: start; }
.voice-points .ico { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: color-mix(in srgb, var(--leaf) 16%, var(--surface)); color: var(--green); stroke-width: 1.9; }
.voice-points h3 { margin-bottom: 4px; font-size: 18px; }
.voice-points p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.voice-side { min-width: 0; }
.voice-demo { border-radius: 28px; background: var(--chat); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.voice-demo .chat { padding: 22px 14px 24px; }
.vmsg { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; }
.vmsg .play { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--on-green); }
.vmsg .play svg { width: 14px; height: 14px; fill: currentColor; }
.vmsg .wave { flex: none; width: 64px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; color: color-mix(in srgb, var(--muted) 75%, transparent); }
.vmsg .dur { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.msg.me .vmsg .play { background: var(--ink); color: var(--bubble-me); }
.msg.me .vmsg .wave, .msg.me .vmsg .dur { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.vr { display: grid; gap: 4px; }
.vr > span { text-wrap: pretty; }
.vr-head { color: var(--muted); font-size: 12px; font-weight: 700; }
.vr-src { color: var(--muted); font-size: 13.5px; }
.vr-tr { font-size: 15px; }
@media (max-width: 960px) {
  .voice { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .voice-copy { display: contents; }
  .voice .kicker { justify-self: start; }
  .voice-side { order: 1; max-width: 480px; margin-top: 32px; }
  .voice-points { order: 2; }
}

/* 方案 */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.amt { font-family: var(--f-display); font-weight: 800; font-size: clamp(42px, 5vw, 54px); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); font-size: 16px; }
.plan-sub { font-weight: 700; }
.plan-note { margin-top: -8px; color: var(--muted); font-size: 15px; }
.ticks { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 4px; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan-paid { background: var(--deep); color: var(--on-deep); box-shadow: none; }
.plan-paid .per, .plan-paid .ticks { color: var(--on-deep-muted); }
.plan-paid .ticks li::before { background: var(--leaf); }

.pay { margin-top: 80px; }
.pay h3 { font-size: clamp(22px, 2.6vw, 26px); }
.pay-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: pay; }
.pay-steps li { counter-increment: pay; }
.pay-vis { display: flex; align-items: center; gap: 8px; height: 76px; margin-bottom: 18px; padding: 0 16px; border-radius: 18px; background: var(--chat); font-size: 15px; }
.pay-steps h3, .pay-steps h4 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; }
.pay-steps h3::before, .pay-steps h4::before { content: counter(pay); color: var(--green); font-weight: 800; }
.pay-steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.linkbubble { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 6px 18px 18px 18px; background: var(--bubble); color: var(--green); font-size: 14px; font-weight: 700; }
.method { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: var(--bubble); color: var(--ink); font-size: 14px; font-weight: 700; }
.method .ico, .linkbubble .ico { width: 18px; height: 18px; }

/* 常見問題 */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--muted); -webkit-mask: var(--plus) center / contain no-repeat; mask: var(--plus) center / contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.ans { max-width: 36em; padding-bottom: 22px; color: var(--muted); }
.ans .typed { font-size: 15px; }

/* 加入好友 */
.cta { padding-block: clamp(64px, 8vw, 104px); background: var(--deep); color: var(--on-deep); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-copy > p { margin-top: 14px; color: var(--on-deep-muted); font-size: 18px; }
.cta .line-id { background: color-mix(in srgb, var(--on-deep) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-deep) 20%, transparent); color: var(--on-deep-muted); }
.cta .line-id strong { color: var(--on-deep); }
.cta .btn-copy { background: transparent; color: var(--on-deep); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-deep) 32%, transparent); }
.cta .btn-copy.is-done { background: var(--leaf); color: var(--on-leaf); box-shadow: none; }
.qr-card { margin: 0; padding: 16px 16px 12px; border-radius: 24px; background: #fff; color: #0F2A1F; box-shadow: 0 0 0 4px var(--gold); text-align: center; }
.qr { position: relative; width: 184px; height: 184px; }
.qr svg { width: 100%; height: 100%; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 4px #fff; transform: translate(-50%, -50%); }
.qr-card figcaption { margin-top: 8px; font-size: 14px; font-weight: 700; }

/* 頁尾 */
.foot { padding-block: 32px 40px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { font-size: 19px; }
.foot .brand img { width: 30px; height: 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-left: auto; color: var(--muted); font-size: 14px; }
.social { display: flex; align-items: center; gap: 8px; }
.social-label { margin-right: 4px; color: var(--muted); font-size: 14px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.social-link:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .demo { max-width: 480px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .steps, .pay-steps { grid-template-columns: 1fr; gap: 32px; }
  .specimen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimen .hub { grid-column: 1 / -1; min-height: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .features, .plans { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .qr-card { display: none; }
  .legal { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .top-inner { height: 60px; }
  .brand { font-size: 20px; }
  .lede { font-size: 18px; }
  .plan { padding: 26px 22px; }
  .specimen li { min-height: 148px; padding: 20px 16px 16px; }
  .chat { padding-inline: 10px; font-size: 13.5px; }
  .tr { font-size: 14.5px; }
  .av { width: 30px; height: 30px; }
}

/* ───── 分頁（使用方式、支援語言、方案、常見問題）───── */
/* 頁首選單：目前這一頁 */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
/* 窄螢幕的頁首選單：放在頁首下面一排，不跟著捲動。
   有些語言的選單字比較長（越南文、菲律賓文），1040px 以下就改用這一排，頁首才放得下 */
.subnav { display: none; }
@media (max-width: 1040px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .subnav { display: block; border-bottom: 1px solid var(--line); }
  .subnav-inner { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 10px; }
  .subnav a { padding: 5px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 15px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
  .subnav a:hover { box-shadow: inset 0 0 0 1px var(--green); }
  .subnav a[aria-current="page"] { background: var(--deep); color: var(--on-deep); box-shadow: none; font-weight: 700; }
}
/* 分頁的開頭 */
.page-head { padding-block: clamp(44px, 7vw, 88px) clamp(44px, 6vw, 72px); }
.page-head h1 { max-width: 20em; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.25; letter-spacing: .02em; }
.page-lede { margin-top: 18px; max-width: 34em; color: var(--muted); font-size: 19px; line-height: 1.8; }
/* 「看更多」的連結 */
.more { margin-top: 36px; }
.more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.more a::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.more a:hover { text-decoration: underline; }
/* 第 3 步的小圖：依序點的兩種語言 */
.picks { align-items: center; }
.pick-join { color: var(--muted); font-size: 18px; font-weight: 700; line-height: 1; }
/* 中文卡片下方的小字、語言格子下方的說明 */
.spec-note { margin-top: 20px; max-width: 46em; color: var(--muted); font-size: 16px; }
.spec-note .typed { font-size: 14px; }
/* 指令一覽 */
.cmds { margin: 36px 0 0; border-top: 1px solid var(--line); }
.cmds > div { display: grid; grid-template-columns: minmax(0, 16em) minmax(0, 1fr); gap: 6px 32px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cmds dt { display: flex; flex-wrap: wrap; gap: 6px; }
.cmds dt .typed { font-size: 15px; }
.cmds dd { margin: 0; color: var(--muted); }
.cmds-note { margin-top: 18px; color: var(--muted); font-size: 16px; }
.cmds-note .typed { font-size: 14px; }
@media (max-width: 720px) { .cmds > div { grid-template-columns: minmax(0, 1fr); } }
/* 有圓點的說明清單 */
.notes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; max-width: 46em; }
.notes li { position: relative; padding-left: 22px; color: var(--muted); }
.notes li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.notes .typed { font-size: 14px; }
/* 兩種做法並排的卡片 */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.way { padding: 28px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.way h3 { margin-bottom: 8px; font-size: 20px; }
.way p { color: var(--muted); }
.way p + p { margin-top: 12px; }
.way .typed { font-size: 14px; }
.way .picks { margin-top: 18px; }
@media (max-width: 720px) { .ways { grid-template-columns: minmax(0, 1fr); } .way { padding: 24px 22px; } }
/* 左邊說明、右邊示範畫面 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.split-side { min-width: 0; }
.pair-demo { border-radius: 28px; background: var(--chat); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.pair-demo .chat { padding: 22px 14px 24px; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } .split-side { max-width: 480px; } }
/* 常見問題分頁：每一組問題的上下留白小一點 */
.faq-group { padding-block: clamp(48px, 6vw, 80px); }
