/* AI Translator Bot — marketing site.
   Original look: one sans family, white rounded cards on warm paper, navy actions, orange accents.
   Type scale 13 / 14 / 16 / 17 / 18 / 20 / 24 / 36 / 52. */
:root {
  --paper: #f7f6f3; --card: #ffffff; --sunk: #efede8; --ink: #15212e; --ink-2: #434e5a; --ink-3: #737c87; --rule: #e4e1da;
  --paper-2: var(--sunk); --plate: var(--sunk); --rule-2: var(--rule);
  --brand: #f86e09; --brand-ink: #c4500a; --navy: #043058; --link: #0b3a63;
  --me: #0b3a63; --me-hover: #082c4c; --me-soft: #e8eff7; --me-ink: #ffffff;
  --them: #c4500a; --them-soft: #fdefe4; --them-ink: #ffffff;
  --btn: var(--me); --btn-hover: var(--me-hover); --btn-ink: var(--me-ink);
  --note-bg: #fff3dc; --note: #6e4100; --line: #06c755;
  --r-tail: 6px; --r-sm: 10px; --r-md: 14px; --r-say: 16px; --r-lg: 20px; --r-xl: 28px;
  --sans: "Plus Jakarta Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --serif: var(--sans);
  --shadow-card: inset 0 0 0 1px var(--rule);
  --shadow-float: 0 1px 0 var(--rule), 0 30px 70px -36px rgba(4, 48, 88, .45);

  --fs-xs: .8125rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-body: 1.0625rem; --fs-lg: 1.125rem;
  --fs-xl: 1.25rem; --fs-2xl: 1.5rem;
  --fs-3xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem);
  --fs-4xl: clamp(2.25rem, 1.4rem + 3.2vw, 3.25rem);
  --fs-h3: var(--fs-xl); --fs-h2: var(--fs-3xl); --fs-h1: var(--fs-4xl);

  --section: 96px;
  --wrap: 1120px; --gutter: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151c; --card: #17202b; --sunk: #1f2a37; --ink: #eef2f6; --ink-2: #b4bdc8; --ink-3: #808b97; --rule: #283441;
    --brand: #ff8a3d; --brand-ink: #ff8a3d; --navy: #cfe0f2; --link: #7fb2e5;
    --me: #7fb2e5; --me-hover: #9cc4ec; --me-soft: #172a3e; --me-ink: #08182a;
    --them: #ff8a3d; --them-soft: #3a2414; --them-ink: #2a1200;
    --note-bg: #352a12; --note: #f3cf86;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -.02em; }
.lang-th h1, .lang-th h2, .lang-th h3 { line-height: 1.45; letter-spacing: 0; }
h3 { font-size: var(--fs-xl); }
p { margin: 0; }
ul, ol { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2 * var(--gutter)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* Small labels */
.eyebrow { display: inline-block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; line-height: 1.4; color: var(--them);
  background: var(--them-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.kicker { display: block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; line-height: 1.5; color: var(--them); }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.lead { font-size: var(--fs-lg); line-height: 1.8; color: var(--ink-2); max-width: 34em; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand img { border-radius: 9px; flex: none; }
.brand picture { display: block; line-height: 0; }
.brand .logo-h { display: block; height: 40px; width: auto; border-radius: 0; }
.brand b { color: var(--brand); font-weight: 800; }
.main-nav { margin-left: 24px; }
.main-nav > ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .drop > summary { color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; }
.main-nav a:hover, .drop > summary:hover { color: var(--ink); }
.main-nav a.is-active, .main-nav a[aria-current="page"], .drop.is-active > summary { color: var(--ink); background: var(--sunk); }
.caret { width: 12px; height: 12px; transition: transform .15s; }
.drop { position: relative; }
.drop[open] > summary .caret { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 228px; list-style: none; margin: 0; padding: 8px; background: var(--card);
  border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--rule), 0 24px 48px -24px rgba(4, 48, 88, .35); z-index: 40; }
.drop-panel a, .main-nav .drop-panel a[aria-current] { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; background: none; }
.drop-panel a:hover, .site-head .drop-panel a[aria-current] { color: var(--ink); background: var(--sunk); }
.lang-drop { margin-left: auto; }
.lang-drop > summary { gap: 6px; }
.globe { width: 16px; height: 16px; }
.lang-drop .drop-panel { left: auto; right: 0; min-width: 200px; }
.lang-drop .l-short { display: none; }
.lang-drop > summary .l-short { display: inline; }
.lang-drop .l-code, .head-cta .cta-short { display: none; }
.lang-drop a[aria-current] { color: var(--ink); }
.head-cta { margin-left: 8px; }
.menu { display: none; }
@media (max-width: 1080px) { .main-nav { margin-left: 12px; } .main-nav a, .drop > summary { padding: 6px 9px; } }
@media (min-width: 769px) and (max-width: 960px) { .site-head .head-cta { display: none; } }
@media (max-width: 768px) {
  /* 手機：不用毛玻璃（backdrop-filter 會讓全螢幕選單被限制在 header 的高度裡） */
  .site-head { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .head-row { min-height: 56px; gap: 6px; }
  .main-nav { display: none; }
  /* 手機 header：橫向 logo｜語言｜加 LINE｜選單（知識文章在選單裡） */
  .lang-drop { margin-left: auto; }
  .lang-drop > summary { padding: 6px 8px; gap: 4px; }
  .lang-drop .drop-panel { position: fixed; top: 60px; right: var(--gutter); left: auto; }
  .site-head .head-cta { margin-left: 0; min-height: 36px; padding: 6px 12px; }
  .site-head .head-cta .dot { width: 20px; height: 20px; border-radius: 6px; font-size: .5rem; }
  .brand { font-size: var(--fs-md); }
  .menu { display: block; }
  .menu > summary { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -6px; }
  .menu-ic { position: relative; width: 22px; height: 12px; }
  .menu-ic::before, .menu-ic::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, top .2s; }
  .menu-ic::before { top: 0; } .menu-ic::after { top: 10px; }
  .menu[open] .menu-ic::before { top: 5px; transform: rotate(45deg); }
  .menu[open] .menu-ic::after { top: 5px; transform: rotate(-45deg); }
  .menu-panel { position: fixed; inset: 57px 0 0 0; overflow-y: auto; background: var(--paper); padding: 8px var(--gutter) 48px; z-index: 40; border-top: 1px solid var(--rule); }
  .menu-list { list-style: none; padding: 0; }
  .menu-list > li { border-bottom: 1px solid var(--rule); }
  .menu-list a { display: block; padding: 15px 0; color: var(--ink); text-decoration: none; font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
  .menu-list a[aria-current] { color: var(--them); }
  .menu-h { display: block; padding: 16px 0 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); }
  .menu-list ul { list-style: none; padding: 0 0 10px; }
  .menu-list ul a { font-size: var(--fs-md); font-weight: 600; padding: 9px 0; }
  .menu-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
  .menu-langs a { color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-card); }
  .menu-langs a[aria-current] { color: var(--ink); background: var(--sunk); box-shadow: none; }
  .menu-panel .btn { width: 100%; }
}
@media (max-width: 640px) { .head-row .brand span { display: none; } }
@media (max-width: 400px) { .brand .logo-h { height: 36px; } }
@media (max-width: 350px) { .brand .logo-h { height: 32px; } .site-head .lang-drop > summary .l-code { display: none; } }
.brand { flex: none; }
/* 小手機：語言只顯示代碼、加 LINE 變成綠色小按鈕，一排放得下 logo｜文章｜語言｜LINE｜選單 */
@media (max-width: 440px) {
  .lang-drop > summary .l-short, .lang-drop > summary .caret { display: none; }
  .lang-drop > summary .l-code { display: inline; font-weight: 700; }
  .site-head .head-cta { background: var(--line); color: #fff; padding: 6px 12px; font-weight: 800; letter-spacing: .02em; }
  .head-cta .cta-full { display: none; }
  .head-cta .cta-short { display: inline; }
}

/* ---------- Buttons: primary = navy solid, secondary = white with a border, "coming soon" = a tag ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: var(--r-md);
  background: var(--btn); color: var(--btn-ink); text-decoration: none; font-family: var(--sans); font-size: var(--fs-md); font-weight: 700; line-height: 1.2; border: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 20px -10px rgba(4, 48, 88, .55); transition: background .15s, transform .15s; }
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn-ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-small { min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); box-shadow: none; }
.btn-line .dot { width: 24px; height: 24px; border-radius: 7px; background: var(--line); display: grid; place-items: center; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .02em; flex: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sunk); color: var(--ink-2);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.soon svg { width: 16px; height: 16px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-md); font-weight: 700; color: var(--me); text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }
.section-more { margin-top: 28px; }

/* ---------- Hero: text on the left, a sample conversation on the right (no photo) ---------- */
.hero { padding: 80px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.hero h1 { font-size: var(--fs-4xl); line-height: 1.22; margin-bottom: 24px; }
.answer { font-size: var(--fs-lg); line-height: 1.8; color: var(--ink-2); max-width: 32em; margin-bottom: 32px; }
.answer strong { color: var(--ink); font-weight: 700; }
.hero-meta { margin-top: 20px; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-3); max-width: 36em; }
@media (max-width: 880px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) { .hero .ctas .btn { flex: 1 1 100%; } }

/* Conversation demo (MessageCard style) */
.demo { margin: 0; background: var(--card); border-radius: var(--r-xl); padding: 24px 20px 20px; box-shadow: var(--shadow-float); display: grid; gap: 14px; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--ink-2); font-weight: 700; padding: 0 4px 2px; }
.demo-top span:last-child { background: var(--sunk); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.msg { display: flex; flex-direction: column; max-width: 92%; }
.msg.me { align-self: flex-end; }
.msg.them { align-self: flex-start; }
.card { border-radius: var(--r-lg); padding: 16px 18px 14px; }
.me .card { background: var(--me-soft); border-top-right-radius: var(--r-tail); }
.them .card { background: var(--them-soft); border-top-left-radius: var(--r-tail); }
.meta { font-size: var(--fs-xs); line-height: 1.3; font-weight: 700; letter-spacing: .03em; margin-bottom: 8px; }
.me .meta { color: var(--me); }
.them .meta { color: var(--them); }
.translation { font-size: var(--fs-xl); line-height: 1.45; font-weight: 700; color: var(--ink); }
.orig { margin-top: 8px; font-size: var(--fs-md); line-height: 1.55; color: var(--ink-2); }
.back { margin-top: 10px; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--ink-3) 60%, transparent); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
.back b { margin-right: 8px; color: var(--ink); }
.tip { margin-top: 10px; background: var(--note-bg); color: var(--note); padding: 10px 14px; border-radius: var(--r-sm); font-size: var(--fs-sm); line-height: 1.55; }
.demo .talk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.say { min-height: 64px; border-radius: var(--r-say); padding: 10px 14px; display: flex; align-items: center; gap: 12px; background: var(--me); color: var(--me-ink); font-weight: 700; font-size: var(--fs-md); line-height: 1.25; }
.say.them { background: var(--them); color: var(--them-ink); }
.say .ic { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; flex: none; }
.say .ic svg { width: 17px; height: 17px; }
.say small { display: block; font-weight: 500; font-size: var(--fs-xs); opacity: .85; margin-top: 2px; }
@media (max-width: 420px) { .demo { padding: 18px 14px 14px; } .translation { font-size: var(--fs-lg); } .say { padding: 10px; gap: 8px; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.band, .biz { background: var(--sunk); }
.section-head { max-width: 38em; margin-bottom: 40px; }
.section-head h2 { font-size: var(--fs-3xl); margin-bottom: 12px; }
.section-head h2:last-child { margin-bottom: 0; }
.section-head p { font-size: var(--fs-lg); color: var(--ink-2); }
@media (max-width: 640px) { :root { --section: 64px; } .section-head { margin-bottom: 28px; } }

/* Pains: problem → our answer, as small cards */
.pains { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pain { background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-card); }
.pain-q { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.pain-a { margin: 0; color: var(--ink-2); }
.pain-a::before { content: "→ "; color: var(--brand); font-weight: 800; }

/* Highlights: icon + short title + two or three lines */
.hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hl-card { background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-card); display: grid; gap: 10px; align-content: start; }
.hl-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--them-soft); color: var(--them); margin-bottom: 6px; }
.hl-ic svg { width: 24px; height: 24px; }
.hl-card:nth-child(2) .hl-ic { background: var(--me-soft); color: var(--me); }
.hl-card p { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.7; }
@media (max-width: 880px) { .hl { grid-template-columns: 1fr; gap: 14px; } .hl-card { padding: 22px; grid-template-columns: 48px 1fr; column-gap: 16px; } .hl-ic { grid-row: span 2; margin: 0; } }

/* How to start, with illustrations */
.steps-img { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps-img li { background: var(--card); border-radius: 18px; padding: 16px 18px 18px; text-align: center; box-shadow: var(--shadow-card); }
.plate { display: block; }
.plate img { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto 8px; }
.steps-img h3 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.05rem; }
.steps-img h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; flex: none; }
.steps-img p { margin: 6px 0 0; color: var(--ink-2); font-size: var(--fs-sm); text-align: left; }
/* 第一步的卡片放「加 LINE 好友」和 App 按鈕 */
.step-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; margin-top: 16px; }
.step-ctas .btn { min-height: 48px; padding: 10px 20px; }
@media (max-width: 600px) { .plate img { max-width: 140px; } .step-ctas .btn { flex: 1 1 100%; } }

/* Phone screenshots */
.phone { display: block; }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 8px 24px rgb(0 0 0 / .10); background: #fff; }
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.screens figure { margin: 0; text-align: center; }
.screens figcaption { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 600px) { .screens { grid-template-columns: 1fr 1fr; } .screens figcaption { font-size: .8rem; } .phone img { border-radius: 16px; } }

/* Feature trio on the home page (employer) */
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-card); display: grid; align-content: start; gap: 10px; }
.feature .phone { width: min(220px, 78%); margin: 0 auto 12px; }
.feature p:not(.kicker) { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.7; }
.feature .more { justify-self: start; margin-top: 4px; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 14px; }
  .feature { grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; padding: 22px; }
  .feature .phone { grid-row: span 5; width: 100%; margin: 0; }
  .feature .phone img { border-radius: 14px; }
}

/* Two ways */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.way { background: var(--card); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-card); }
.way .tag, .way .kicker { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; color: var(--them); }
.way h3 { font-size: var(--fs-2xl); }
.way p { color: var(--ink-2); }
.way ul { margin: 0 0 6px; padding-left: 1.2em; color: var(--ink); }
.way li + li { margin-top: 6px; }
.way li::marker { color: var(--brand); }
.way > .btn, .way > .soon { justify-self: start; margin-top: 4px; }
.qr-row { display: flex; gap: 20px; align-items: center; margin-top: 6px; }
.qr-row img { width: 112px; height: 112px; border-radius: var(--r-sm); background: #fff; padding: 6px; box-shadow: var(--shadow-card); }
@media (max-width: 880px) { .two { grid-template-columns: 1fr; } .way { padding: 24px; } }
@media (max-width: 640px) { .qr-row img { display: none; } }

/* Pricing cards; the recommended plan has an orange border */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.plan { position: relative; background: var(--card); border: 1.5px solid var(--rule); border-radius: 18px; padding: 18px 20px; }
.plan.hot { border-color: var(--brand); box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 18%, transparent); }
.plan-flag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; }
.plan h3 { font-size: 1.05rem; }
.plan .price { margin: 4px 0 2px; font-size: 1.35rem; font-weight: 800; color: var(--brand); line-height: 1.4; }
.plan .plan-note { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--ink-3); }
.plan .plan-note:empty { display: none; }
.plan ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: var(--fs-sm); }
.plan li + li { margin-top: 4px; }
.plans-foot { margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-3); max-width: 52em; }

/* Business band */
.biz-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.biz h2 { font-size: var(--fs-3xl); margin: 14px 0 16px; }
.biz .lead { margin-bottom: 28px; }
.biz-facts { margin: 0; background: var(--card); border-radius: var(--r-lg); padding: 8px 24px 4px; box-shadow: var(--shadow-card); }
.biz-facts dt { font-size: var(--fs-sm); font-weight: 700; color: var(--them); padding-top: 18px; }
.biz-facts dd { margin: 0; padding: 6px 0 16px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: var(--fs-md); }
.biz-facts dd:last-child { border-bottom: 0; }
.biz-facts dd.price { font-size: 1.6rem; font-weight: 800; color: var(--brand); padding: 2px 0 14px; }
@media (max-width: 860px) { .biz-grid { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 0; }
.faq { border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { padding: 22px 44px 22px 0; font-weight: 700; font-size: var(--fs-lg); line-height: 1.5; position: relative; color: var(--ink); }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }

/* Final call to action */
.final { text-align: center; padding: var(--section) 0; border-top: 1px solid var(--rule); background: linear-gradient(180deg, var(--paper), var(--me-soft)); }
.final-grid { display: grid; justify-items: center; gap: 14px; }
.final h2 { font-size: var(--fs-3xl); max-width: 22em; }
.final p { font-size: var(--fs-lg); color: var(--ink-2); margin-bottom: 32px; max-width: 36em; margin-inline: auto; }
.final .ctas { justify-content: center; }
.final .hero-meta { margin-inline: auto; }

/* ---------- Page heads (hub, category, info, how-it-works) ---------- */
.page-head { padding: 48px 0 56px; }
.page-head-grid { display: grid; gap: 16px; max-width: 46em; }
.page-head h1 { font-size: var(--fs-4xl); }
.page-head .lead { font-size: var(--fs-lg); line-height: 1.8; }
.page-head .ctas { margin-top: 12px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a { padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-card); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.toc a:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.toc a[aria-current] { background: var(--me); color: var(--me-ink); box-shadow: none; }
@media (max-width: 860px) { .page-head { padding: 32px 0 40px; } .toc { margin-top: 24px; } }
.page-cover { margin: 0 auto var(--section); width: min(var(--wrap), 100% - 2 * var(--gutter)); aspect-ratio: 16 / 9; max-height: 68vh; background: var(--sunk); overflow: hidden; border-radius: var(--r-xl); }
.page-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info .page-head + .section { padding-top: 40px; }
.section[id] { scroll-margin-top: 64px; }
@media (max-width: 640px) { .page-cover { border-radius: var(--r-lg); } }

/* Breadcrumbs */
.crumbs { margin-bottom: 20px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Article cards (hub, category, related, home) ---------- */
.story-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story { margin: 0; }
.story-link { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card); transition: box-shadow .15s; }
.story-link:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cover { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sunk); overflow: hidden; }
/* 封面圖上有字：比例固定 16:9，不裁切 */
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story-link:hover .cover img { transform: scale(1.03); }
.cover-ph { position: absolute; left: 16px; bottom: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); }
.story-text { display: grid; gap: 8px; padding: 16px 18px 20px; align-content: start; }
.story-title { font-size: 1.0625rem; line-height: 1.45; transition: color .15s; }
.story-link:hover .story-title { color: var(--them); }
.story-dek { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-lead .story-link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.story-lead .story-text { padding: 32px; gap: 14px; }
.story-lead .story-title { font-size: var(--fs-3xl); line-height: 1.3; }
.story-lead .story-dek { font-size: var(--fs-md); -webkit-line-clamp: 4; }
.story-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .story-grid, .story-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .story-lead .story-link { grid-template-columns: 1fr; } .story-lead .story-text { padding: 20px; } .story-lead .story-title { font-size: var(--fs-2xl); } }
@media (max-width: 600px) { .story-grid, .story-grid.cols-4 { grid-template-columns: 1fr; gap: 14px; } }

.hub-lead { padding-bottom: 64px; }
.hub-cat { padding: 0 0 64px; }
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.related-head h2 { font-size: var(--fs-2xl); }
.related-head h2 a { color: inherit; text-decoration: none; }
.related-head h2 a:hover { color: var(--them); }
.related-head .more { font-size: var(--fs-sm); }

/* ---------- Articles ---------- */
.article { padding-bottom: 32px; }
.article-head { width: min(820px, 100% - 2 * var(--gutter)); padding: 48px 0 32px; }
.article-head .kicker { margin-bottom: 12px; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); line-height: 1.25; }
.byline { margin-top: 16px; font-size: var(--fs-sm); color: var(--ink-3); }
.article-cover { margin: 0 auto 48px; width: min(1000px, 100% - 2 * var(--gutter)); aspect-ratio: 16 / 9; background: var(--sunk); overflow: hidden; border-radius: var(--r-xl); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .article-cover { border-radius: var(--r-lg); margin-bottom: 36px; } .article-head { padding: 32px 0 24px; } }

.prose { max-width: 40em; font-size: var(--fs-lg); line-height: 1.85; color: var(--ink); }
.article .prose { margin-inline: auto; padding-bottom: 32px; }
.prose-wide { max-width: 48em; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: var(--fs-2xl); margin: 56px 0 16px; }
.prose h3 { font-size: var(--fs-xl); margin: 32px 0 10px; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--brand); }
.prose strong { font-weight: 700; }
.prose a { color: var(--link); }
.prose a.btn { color: var(--btn-ink); text-decoration: none; }
.prose a.btn-ghost { color: var(--ink); }
.prose a.more { color: var(--me); }
.prose blockquote { margin: 28px 0; padding: 16px 20px; border-left: 4px solid var(--brand); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--card); box-shadow: var(--shadow-card); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: var(--r-lg); }
/* 文章底部「怎麼開始用」：LINE 步驟示意圖＋App 實際畫面；手機上左右滑 */
.howto { margin: 56px 0 8px; padding: 24px 20px 8px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.prose .howto h2 { margin: 0 0 4px; }
.howto-part { padding: 18px 0 20px; }
.howto-part + .howto-part { border-top: 1px solid var(--rule); }
.howto h3 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); }
.howto-tag { display: inline-grid; place-items: center; min-width: 46px; height: 26px; padding: 0 8px; border-radius: 7px; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.howto-tag.is-line { background: var(--line); }
.howto-tag.is-app { background: var(--me); color: var(--me-ink); }
.howto .howto-steps { font-size: var(--fs-md); color: var(--ink-2); margin: 0 0 14px; }
.howto ol.howto-strip { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; align-items: start; }
.howto .howto-strip li { margin: 0; }
.howto-card figure { margin: 0 0 8px; }
.howto-card img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-card); background: #fff; }
.howto .howto-card p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); margin: 0; }
.howto-card b { display: block; color: var(--ink); font-size: var(--fs-md); margin-bottom: 2px; }
.howto .ctas { gap: 10px 18px; }
#start .howto { margin-block: 0; }
/* App 截圖是直長的，寬螢幕上限制寬度，不要太高 */
@media (min-width: 641px) { .howto ol.howto-strip.is-app { grid-template-columns: repeat(3, minmax(0, 220px)); } }
.prose .howto .ctas a.btn { color: var(--btn-ink); text-decoration: none; }
.prose .howto .more { color: var(--me); }
@media (max-width: 640px) {
  .howto { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; padding-inline: var(--gutter); box-shadow: none; border-block: 1px solid var(--rule); }
  .howto ol.howto-strip { display: flex; scroll-padding-inline: var(--gutter); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .howto ol.howto-strip::-webkit-scrollbar { display: none; }
  .howto-card { flex: 0 0 62%; scroll-snap-align: start; }
  .howto .ctas .btn { flex: 1 1 100%; }
}
/* 步驟裡的按鈕（加 LINE 洽詢、打開會員中心） */
.prose a.step-btn { margin-top: 10px; text-decoration: none; }
.prose a.step-btn.btn-line { color: var(--btn-ink); }
.prose a.step-btn .dot { width: 22px; height: 22px; border-radius: 6px; font-size: .52rem; }
/* 步驟示意圖：放在每個步驟下面，手機上也不會太大 */
.prose .step-shot { margin: 14px 0 10px; }
.step-shot img { display: block; width: min(300px, 82%); height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.prose figcaption { font-size: var(--fs-sm); color: var(--ink-3); margin-top: 8px; }
.summary { background: var(--card); border-left: 4px solid var(--brand); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 20px 24px; margin-bottom: 40px; box-shadow: var(--shadow-card); }
.summary-label { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; color: var(--them); margin-bottom: 6px; }
.summary > * + * { margin-top: 10px; }
.summary-label + * { margin-top: 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0 12px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-card); }
.prose .table-wrap { margin: 20px 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-md); line-height: 1.6; }
caption { text-align: left; padding: 16px 18px 6px; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-size: var(--fs-sm); letter-spacing: .02em; color: var(--ink-2); font-weight: 700; background: var(--sunk); }
tbody th { font-weight: 700; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td .py { display: block; color: var(--ink-3); font-size: var(--fs-sm); font-style: italic; }
/* 三欄以上的表格在手機上：每一列是一張卡片，第一欄當卡片標題，
   其他欄「欄名｜內容」左右並排（欄名不再獨佔一行，比較好掃讀） */
@media (max-width: 640px) {
  .table-wrap:has(table.stack) { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  table.stack, table.stack tbody { display: block; }
  table.stack caption { display: block; padding: 0 0 10px; font-size: var(--fs-md); color: var(--ink); }
  table.stack thead { display: none; }
  table.stack tr { display: block; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-card); padding: 6px 16px; margin: 0 0 10px; }
  table.stack td { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 9px 0; border: 0; border-top: 1px solid var(--rule); line-height: 1.6; }
  table.stack td:first-child { border-top: 0; font-weight: 700; color: var(--ink); }
  table.stack td::before { content: attr(data-l); font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; color: var(--ink-3); }
  table.stack td:empty { display: none; }
}

.prose .faq { margin-top: 16px; }
.cta-box { margin-top: 56px; background: var(--me-soft); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; }
.prose .cta-box h2 { margin: 0; font-size: var(--fs-2xl); }
.cta-box p { color: var(--ink-2); }
.related { background: var(--sunk); border-top: 1px solid var(--rule); padding: 64px 0 80px; margin-top: 56px; }

/* ---------- Info pages ---------- */
.info-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; }
.info-text .section-head { margin: 0; position: sticky; top: 96px; align-self: start; }
.info-text .prose { max-width: none; }
.info-text .prose > :first-child { margin-top: 0; }
@media (max-width: 860px) { .info-text { grid-template-columns: 1fr; } .info-text .section-head { position: static; } }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.split.flip > figure { order: -1; }
.split h2 { font-size: var(--fs-3xl); margin-bottom: 20px; }
.split-media { margin: 0; }
.split-media .phone { width: min(280px, 78%); margin-inline: auto; }
.split-media > img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 32px; }
.card-item { background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-card); }
.card-item h3 { margin-bottom: 8px; font-size: var(--fs-lg); }
.card-item h3 a { color: inherit; text-decoration: none; }
.card-item h3 a:hover { color: var(--them); }
.card-item p { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.7; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > figure { order: 0; } }

/* ---------- How it works (details) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: var(--fs-2xl); font-weight: 800; line-height: 1; color: var(--brand); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.75; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.features > div { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.features > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.features h3 { margin-bottom: 8px; }
.features h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--brand), var(--brand)); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%; }
.features h3 a:hover { color: var(--them); }
.features p { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.75; }
@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; }
  .features > div, .features > div:not(:nth-child(3n+1)) { padding: 22px 0; border-left: 0; }
}
.examples .ex-from { color: var(--ink); font-size: var(--fs-lg); font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.examples .ex-to { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.7; }
.examples .ex-note { margin-top: 10px; font-size: var(--fs-sm); color: var(--them); font-weight: 600; }
.langs-grid { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.langs-grid li { background: var(--card); border-radius: 999px; padding: 8px 18px; font-size: var(--fs-md); font-weight: 600; box-shadow: var(--shadow-card); }
.langs-grid small { color: var(--ink-3); font-size: var(--fs-sm); font-weight: 500; margin-left: 8px; }
.privacy-box { background: var(--card); border-radius: var(--r-lg); padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; box-shadow: var(--shadow-card); }
.privacy-box ul { margin: 0; padding-left: 1.2em; }
.privacy-box li + li { margin-top: 8px; }
.privacy-box li::marker { color: var(--brand); }
@media (max-width: 760px) { .privacy-box { grid-template-columns: 1fr; padding: 24px; } .privacy-box .btn, .privacy-box .more { justify-self: start; } }
#compare th[scope="row"] { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--rule); font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-2); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 48px 0 32px; }
.foot-brand { flex: 1.6 1 260px; display: grid; gap: 12px; align-content: start; max-width: 340px; }
.foot-brand > :first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: var(--fs-md); font-weight: 700; text-decoration: none; }
.foot-brand img { border-radius: 7px; }
.foot-brand b { color: var(--brand); }
.foot-brand p { color: var(--ink-2); }
.foot-line { justify-self: start; color: var(--me); font-weight: 700; text-decoration: none; }
.foot-col { flex: 1 1 140px; }
.foot-h { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.foot-col ul { list-style: none; padding: 0; }
.foot-col li + li { margin-top: 6px; }
.foot-col a { color: var(--ink-2); line-height: 1.5; }
.foot-col a[aria-current] { color: var(--ink); font-weight: 700; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 40px; border-top: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 640px) {
  .foot-grid { gap: 28px 24px; padding: 40px 0 28px; }
  .foot-brand { flex-basis: 100%; max-width: none; }
  .foot-col { flex: 1 1 calc(50% - 12px); }
}

/* ---------- Root chooser + 404 ---------- */
.chooser .choose { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 48px 0; }
.choose img { border-radius: 24px; }
.choose h1 { font-weight: 700; font-size: var(--fs-3xl); }
.choose h1 b { color: var(--brand); font-weight: 800; }
.choose > p { color: var(--ink-2); margin-bottom: 12px; }
.choose-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; width: min(420px, 100%); }
.choose-list a { display: grid; gap: 2px; background: var(--card); border-radius: var(--r-lg); padding: 16px 20px; text-decoration: none; color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1.5px var(--rule); font-weight: 700; }
.choose-list a b { font-weight: 700; }
.choose-list a span { color: var(--ink-2); font-size: var(--fs-sm); font-weight: 400; }
.choose-list .suggested a { box-shadow: inset 0 0 0 2px var(--me); }
.page-404 { padding: 96px 0; text-align: center; }
.page-404 h1 { font-size: 4rem; color: var(--brand); }
.page-404 .links { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
