/* Winko 網站。主色由 theme.css 提供（build.py 按 site.config.json 生成） */
:root {
  --ink: #18202E;
  --ink-2: #485263;
  --ink-3: #697385;
  --line: #E1E5EB;
  --line-2: #CDD3DC;
  --band: #F3F5F8;
  --bg: #FFFFFF;
  --wa: #1DAA61;
  --ms: #0A7CFF;
  --ig: #D62976;
  --web: #6E56CF;
  --ok: #1F7A4D;
  --err: #B42318;
  --wrap: 1180px;
  --font-zh: "Chiron Hei HK", "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-en: "Rubik", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-en), var(--font-zh); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.lang-zh { font-family: var(--font-zh); }
body.lang-en { line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.28; font-weight: 800; text-wrap: balance; }
.lang-en h1, .lang-en h2 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.8vw, 56px); }
h2 { font-size: clamp(26px, 3.1vw, 38px); }
h3 { font-size: 19px; font-weight: 700; }
.lang-en h3 { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }
.band { background: var(--band); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.lang-en .lead { max-width: 34em; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head .lead { margin-top: 16px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 10px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--accent); color: #fff; }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { display: block; height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 16px; }
.site-nav ul a:hover, .site-nav .lang:hover, .site-nav .login:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] { font-weight: 700; color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav a, .site-nav .lang, .site-nav .login { color: #fff; }
.site-nav .btn { background: #fff; border-color: #fff; color: var(--accent-dark); }
.site-nav .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }
.site-head :focus-visible { outline-color: #fff; }
.menu-btn { display: none; margin-left: auto; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; border-radius: 8px; font: inherit; font-size: 15px; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--accent); border-top: 1px solid rgba(255,255,255,.25); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a, .site-nav .lang, .site-nav .login { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.25); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 10.5em; }
.lang-en .hero h1 { max-width: 13em; font-size: clamp(34px, 4.4vw, 54px); }
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--ink-3); max-width: 32em; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 600px) { .hero { padding: 40px 0 64px; } }

/* 收件箱示範畫面 */
.app { position: relative; margin: 0; }
.app-win { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(24,32,46,.28); display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 430px; font-size: 14px; line-height: 1.5; }
.app-list { border-right: 1px solid var(--line); background: #FAFBFC; }
.app-list-h { padding: 12px 14px; font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.app-list-h b { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 12px; }
.conv { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.conv.on { background: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.conv p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-3); font-size: 12.5px; }
.conv strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.ch svg { width: 16px; height: 16px; }
.ch.wa { background: var(--wa); } .ch.ms { background: var(--ms); } .ch.ig { background: var(--ig); } .ch.web { background: var(--web); }
.app-thread { display: flex; flex-direction: column; min-width: 0; }
.thread-h { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.thread-h strong { font-size: 14px; }
.thread-h span { font-size: 12px; color: var(--ink-3); }
.thread-h .ch { color: #fff; }
.thread-h .ai-on { margin-left: auto; font-size: 12px; color: var(--ok); background: #E7F5EE; border-radius: 6px; padding: 2px 8px; }
.thread { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F6F7F9; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.msg.out { align-self: flex-end; background: #FFF1EC; border-color: #F6D3C6; }
.msg p { margin: 0; }
.msg small { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-3); }
.cite { display: inline-block; margin-top: 6px; font-size: 11.5px; color: var(--accent-dark); font-weight: 700; }
.note { align-self: center; font-size: 12px; color: var(--ink-2); background: #fff; border: 1px dashed var(--line-2); border-radius: 8px; padding: 4px 10px; }
.booked { display: grid; gap: 2px; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #F6D3C6; font-size: 12.5px; }
.booked b { font-size: 13px; }
.composer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.composer span { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--ink-3); font-size: 13px; }
.composer i { width: 64px; border-radius: 8px; background: var(--accent); }
.toast { position: absolute; left: -28px; bottom: -26px; width: 270px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; box-shadow: 0 18px 36px -18px rgba(24,32,46,.35); font-size: 13px; line-height: 1.45; }
.toast-h { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.toast-h .ch { width: 22px; height: 22px; border-radius: 6px; }
.toast-h .ch svg { width: 13px; height: 13px; }
.toast p { margin: 0; color: var(--ink-2); }
.toast .sent { display: block; margin-top: 6px; color: var(--ok); font-weight: 700; }
.app-cap { margin-top: 18px; padding-left: 270px; font-size: 13px; color: var(--ink-3); text-align: right; }
@media (max-width: 980px) { .toast { position: relative; left: auto; bottom: auto; width: auto; max-width: 340px; margin-top: 12px; } .app-cap { padding-left: 0; text-align: left; } }
@media (max-width: 600px) {
  .app-win { grid-template-columns: 1fr; min-height: 0; }
  .app-list { display: none; }
  .toast { position: relative; left: auto; bottom: auto; width: auto; margin-top: 12px; }
  .app-cap { margin-top: 12px; padding-left: 0; text-align: left; }
}
/* 載入時播一次 */
.app.play .step { opacity: 0; transform: translateY(6px); animation: rise .4s ease forwards; }
.app.play .step:nth-child(1) { animation-delay: .2s; }
.app.play .step:nth-child(2) { animation-delay: .9s; }
.app.play .step:nth-child(3) { animation-delay: 1.7s; }
.app.play .step:nth-child(4) { animation-delay: 2.4s; }
.app.play .step:nth-child(5) { animation-delay: 3.1s; }
.app.play .toast { opacity: 0; animation: rise .45s ease 3.8s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .app.play .step, .app.play .toast { animation: none; opacity: 1; transform: none; } }

/* ---------- 渠道 ---------- */
.channels { padding: 0 0 8px; }
.channel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.channel-row div { padding: 22px 20px 22px 0; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.channel-row div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.channel-row .ch { width: 36px; height: 36px; border-radius: 10px; grid-row: span 2; color: #fff; }
.channel-row .ch svg { width: 20px; height: 20px; }
.channel-row strong { font-size: 16px; line-height: 1.4; }
.channel-row span { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 900px) {
  .channel-row { grid-template-columns: 1fr 1fr; }
  .channel-row div:nth-child(3) { padding-left: 0; border-left: 0; }
  .channel-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .channel-row { grid-template-columns: 1fr; }
  .channel-row div, .channel-row div + div { padding: 16px 0; border-left: 0; }
  .channel-row div + div { border-top: 1px solid var(--line); }
}

/* ---------- 功能段落：文字 + 畫面 ---------- */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.row + .row { margin-top: 112px; }
.row.flip .row-text { order: 2; }
.row-text h2 { max-width: 13em; }
.lang-en .row-text h2 { max-width: 16em; }
.row-text .lead { margin-top: 18px; font-size: 18px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); color: var(--ink-2); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 11px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.lang-en .ticks li::before { top: 16px; }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .row-text { order: 0; }
  .row + .row { margin-top: 80px; }
}

.panel { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; font-size: 14px; line-height: 1.5; box-shadow: 0 20px 40px -28px rgba(24,32,46,.3); }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.panel-h strong { font-size: 15px; }
.panel-h span { font-size: 12.5px; color: var(--ink-3); }
.kb { list-style: none; margin: 0; padding: 0; }
.kb li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.kb q { quotes: none; font-weight: 700; }
.kb p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 13px; }
.pill { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
.pill.ok { background: #E7F5EE; color: var(--ok); }
.pill.wait { background: #FFF4E0; color: #8A5300; }
.panel-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }

.funnel { display: grid; gap: 12px; }
.funnel div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 4.2em; gap: 12px; align-items: center; }
.lang-en .funnel div { grid-template-columns: 8.5em minmax(0, 1fr) 4.2em; }
.funnel span { color: var(--ink-2); font-size: 13.5px; }
.funnel i { display: block; height: 12px; border-radius: 4px; background: var(--accent); }
.funnel .w100 { width: 100%; } .funnel .w74 { width: 74%; } .funnel .w23 { width: 23%; } .funnel .w9 { width: 9%; }
.funnel b { font-variant-numeric: tabular-nums; text-align: right; font-size: 14px; }
.promo { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--band); font-size: 13px; color: var(--ink-2); }
.promo strong { color: var(--ink); }

.cm { display: grid; gap: 12px; }
.cm-post { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cm-thumb { width: 54px; height: 54px; border-radius: 8px; background: linear-gradient(135deg, #F4C7B6, #E9896B); }
.cm-post p { margin: 0; font-size: 13px; color: var(--ink-2); }
.cm-c { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.cm-av { width: 30px; height: 30px; border-radius: 50%; background: #D7DCE4; }
.cm-c p { margin: 0; }
.cm-c small { display: block; color: var(--ink-3); font-size: 12px; }
.cm-reply { margin-left: 40px; padding: 8px 12px; border-radius: 10px; background: var(--band); font-size: 13px; }
.cm-dm { margin-top: 4px; padding: 12px 14px; border-radius: 10px; border: 1px solid #F6D3C6; background: #FFF6F2; }
.cm-dm b { display: block; font-size: 12.5px; color: var(--accent-dark); margin-bottom: 4px; }
.cm-dm p { margin: 0; font-size: 13.5px; }

/* ---------- 其他功能 ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.more-grid div { padding: 22px 0; border-top: 1px solid var(--line-2); }
.more-grid h3 { font-size: 18px; margin-bottom: 6px; }
.more-grid p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }
.more-link { margin-top: 40px; }

/* ---------- 步驟（真係有次序） ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--accent); color: var(--accent-dark); font-family: var(--font-en); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 保安及平台 ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.facts div { padding-top: 18px; border-top: 3px solid var(--ink); }
.facts h3 { font-size: 17px; margin-bottom: 6px; }
.facts p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; padding: 72px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-row h2 { max-width: 16em; }
.cta-row p { margin: 12px 0 0; color: #fff; }
.cta-band .btn { background: #fff; color: var(--accent-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }

/* ---------- 內頁 ---------- */
.page-head { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 16px; }
.page-head .updated { color: var(--ink-3); font-size: 15px; margin: 12px 0 0; }

.fgroup { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.fgroup:first-child { border-top: 0; }
.fgroup > div:first-child p { color: var(--ink-2); margin-top: 12px; font-size: 16px; }
.fgroup h2 { font-size: 26px; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.flist h3 { font-size: 18px; margin-bottom: 6px; }
.flist p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .fgroup { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; } }
@media (max-width: 600px) { .flist { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.contact-aside h2 { font-size: 22px; margin-bottom: 14px; }
.contact-aside ol { margin: 0 0 28px; padding-left: 1.2em; color: var(--ink-2); }
.contact-aside li { margin-bottom: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-form { order: -1; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field label.consent { font-weight: 400; }
.req { color: var(--accent-dark); }
.opt { font-weight: 400; color: var(--ink-3); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err-msg { color: var(--err); font-size: 14px; }
.err-msg:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 8px; cursor: pointer; font-size: 15px; background: #fff; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ink-3); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 15px; }
.form-status.error { color: var(--err); }
.done { border: 2px solid var(--ok); border-radius: 12px; padding: 28px; }
.done h2 { font-size: 24px; margin-bottom: 10px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-note { color: var(--ink-3); margin-top: 16px; }
.foot-h { font-weight: 700; margin-bottom: 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot ul a, .foot-note a { color: var(--ink-2); text-decoration: none; }
.site-foot ul a:hover, .foot-note a:hover { color: var(--accent-dark); text-decoration: underline; }
.foot-base { margin-top: 40px; color: var(--ink-3); font-size: 13px; }
.foot-base::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 18px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* 404 */
.nf { padding: 120px 0; }
.nf p { color: var(--ink-2); }

/* ---------- 插圖（有檔案先會出現） ---------- */
.illus { display: block; height: auto; }
.sec-illus { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: none; }
.sec-illus > div { max-width: 720px; }
.sec-illus .illus { width: 220px; flex: none; }
.head-illus .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.head-illus .illus { width: 240px; flex: none; }
/* 四個步驟：同一個框、底部對齊，大細一致 */
.steps .illus { width: 100%; max-width: 168px; height: 112px; object-fit: contain; object-position: left bottom; margin-bottom: 20px; }
.steps li:has(.illus)::before { display: none; }
.cta-row .illus { width: 104px; flex: none; }
.cta-text { flex: 1; min-width: 260px; }
.contact-aside .illus { width: 200px; margin-bottom: 24px; }
.nf .illus { width: 180px; margin-bottom: 24px; }
.trust-row { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: center; }
.facts-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
.trust-row .illus { width: 260px; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr; gap: 32px; } .trust-row .illus { width: 200px; } }
@media (max-width: 760px) { .sec-illus .illus, .head-illus .illus { display: none; } .cta-row .illus { width: 80px; } }
@media (max-width: 520px) { .facts-2 { grid-template-columns: 1fr; } .steps .illus { height: 88px; } }

/* 中文：同一組字唔會拆開兩行，只喺空格或標點斷行（長篇文章除外） */
.lang-zh main { word-break: keep-all; overflow-wrap: anywhere; }
.lang-zh .legal, .lang-zh .faq details > div, .lang-zh .msg, .lang-zh .kb p, .lang-zh .cm { word-break: normal; }
