/* 官網共用樣式（首頁、方案頁、行業頁、文章）。改版設計見 docs/plans/2026-10-28-site-self-serve.md 第七節 */
:root {
    --paper: #ffffff;
    --surface: #f2f6f5;
    --line: #d5e3e0;
    --line-strong: #a9c4bf;
    --ink: #17302e;
    --ink-soft: #4f6663;
    --ink-faint: #7d918e;
    --jade: #1a7f73;
    --jade-deep: #0f5a52;
    --mist: #e2f1ee;
    --seal: #b23a2e;
    --line-green: #06c755;
    --chat-bg: #8cabd9;
    /* 字型：全部用 Chiron 圓黑（標題、內文同一家族，靠字重區分） */
    --hand: "Chiron GoRound TC", "PingFang TC", system-ui, sans-serif;
    --sans: "Chiron GoRound TC", "PingFang TC", system-ui, sans-serif;
}
/* 美甲、美睫頁：換成產品美業版的莓果玫瑰色，店家實際拿到的就是這套顏色 */
:root[data-industry="beauty"] {
    --surface: #fbf5f7;
    --line: #efdde4;
    --line-strong: #d6b3c1;
    --ink: #33222a;
    --ink-soft: #6b5560;
    --ink-faint: #94808a;
    --jade: #a0476b;
    --jade-deep: #6f2b47;
    --mist: #f8e9ef;
    --seal: #c2471f;
}
:root[data-industry="beauty"] .slot.booked { border-color: rgba(160,71,107,.25); }
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.tabular { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 頁首 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; height: 60px; gap: 12px; }
/* 左上：老闆端開場的「預見」字標（帶黃色微笑） */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-word { height: 42px; width: auto; }
.top nav { display: none; gap: 24px; margin-left: 28px; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--jade-deep); }
.top .spacer { flex: 1; }
/* 方案與價格放右邊，淺綠膠囊，比店家登入明顯、又不搶免費開始 */
.plans-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--mist); color: var(--jade-deep); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.plans-link:hover { background: #cfe8e3; }
.plans-link[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--jade); }
.login-link { color: var(--jade-deep); font-weight: 500; text-decoration: none; padding: 8px 4px; font-size: 15px; }
.top .btn { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 16px; background: var(--jade); color: #fff; font: 700 19px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--jade-deep); }
.btn.ghost { background: var(--paper); color: var(--jade-deep); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn.ghost:hover { background: var(--mist); }
.btn.small { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; }
.text-link { color: var(--jade-deep); font-weight: 500; }

/* 首屏 */
.hero { padding: 36px 0 56px; }
.hero .wrap { display: grid; gap: 44px; }
/* 兩句各一行，不拆字：字級跟著寬度縮 */
h1 { font: 700 clamp(32px, 9.4vw, 64px)/1.25 var(--hand); letter-spacing: .02em; }
h1 span { display: block; white-space: nowrap; }
.lede { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }
/* 手機兩句各一行，不在詞中間斷開；電腦一行用「｜」隔開 */
.lede span { display: block; word-break: keep-all; } /* 只在「・」後換行，不把「自動提醒」拆開 */
.lede i { display: none; font-style: normal; color: var(--line-strong); }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
/* 手機兩顆按鈕並排，字不換行 */
.hero-cta .btn { flex: 1 1 140px; padding: 0 14px; font-size: 17px; white-space: nowrap; }

/* 手機外框（首屏、步驟、畫面展示共用） */
.phone { position: relative; width: 100%; max-width: 360px; justify-self: center; border: 2px solid var(--line); border-radius: 32px; padding: 18px 16px 22px; background: var(--paper); }
.phone-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 12px; border-bottom: 1px solid var(--line); }
.phone-head b { font: 700 22px/1.2 var(--hand); }
.phone-head span { font-size: 13px; color: var(--ink-soft); }
.spine { position: relative; list-style: none; padding: 10px 0 0; }
.spine::before { content: ""; position: absolute; left: calc(50px + 8px + 12px - 1.5px); top: 18px; bottom: 18px; width: 3px; background: repeating-linear-gradient(to bottom, var(--line) 0 14px, transparent 14px 20px); }
.row { display: grid; grid-template-columns: 50px 24px 1fr; gap: 8px; align-items: center; padding: 5px 0; }
.row time { font-weight: 700; font-size: 15px; text-align: right; }
.node { position: relative; z-index: 1; justify-self: center; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line-strong); background: var(--paper); }
.node.on { border: 0; background: var(--jade); box-shadow: 0 0 0 4px var(--mist); }
.slot { min-height: 50px; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; padding: 4px 14px; }
.slot.booked { background: var(--mist); border: 2px solid rgba(26,127,115,.25); }
.slot.booked b { font: 700 18px/1.3 var(--hand); }
.slot.booked small { font-size: 12px; color: var(--ink-soft); }
.slot.empty { border: 2px dashed var(--line-strong); color: var(--jade); font-weight: 500; font-size: 15px; }
.tag { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: rgba(6,199,85,.12); color: #05823a; font: 700 11px/20px var(--sans); vertical-align: 2px; }

/* 首屏動畫：一則 LINE 預約進來，填滿 14:00（沿用現有官網） */
.toast { position: absolute; left: 50%; top: -22px; width: calc(100% - 24px); transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(23,48,46,.12); font-size: 14px; }
.toast i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--line-green); display: grid; place-items: center; color: #fff; font: 700 11px/1 var(--sans); font-style: normal; }
.toast b { display: block; font-size: 15px; }
.swap { display: grid; }
.swap > .slot { grid-area: 1 / 1; }
.swap > .booked { opacity: 0; }

/* 區塊 */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font: 700 clamp(30px, 8vw, 44px)/1.3 var(--hand); }
.sub { margin-top: 10px; color: var(--ink-soft); max-width: 34em; }

/* 四步驟 */
.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 56px; }
.step { display: grid; gap: 22px; }
.step-text { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--jade); color: #fff; font: 700 20px/1 var(--hand); }
.step h3 { font: 700 24px/1.4 var(--hand); padding-top: 4px; }
.step p { margin-top: 4px; color: var(--ink-soft); font-size: 16px; }
.step h3.keep { word-break: keep-all; overflow-wrap: anywhere; } /* 只在「、」後換行；很窄的手機放不下才在詞中間斷 */
.stage { position: relative; display: grid; justify-items: center; align-items: start; padding: 24px 16px; border-radius: 24px; background: var(--surface); min-height: 420px; }

/* 步驟 1：設定畫面 */
.mini { width: 100%; max-width: 280px; border: 2px solid var(--line); border-radius: 26px; background: var(--paper); padding: 14px 14px 18px; font-size: 14px; }
.mini-title { font: 700 18px/1.3 var(--hand); padding: 0 4px 10px; border-bottom: 1px solid var(--line); }
.mini-label { margin: 12px 4px 6px; font-size: 12px; font-weight: 700; color: var(--jade-deep); }
.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 10px; background: var(--surface); }
.hours .off { color: var(--ink-faint); }
.svc { display: grid; gap: 6px; }
.svc div { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; }
.svc b { font-weight: 700; }
.svc span { color: var(--ink-soft); font-size: 12px; }
.ready { margin-top: 12px; display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: var(--mist); color: var(--jade-deep); font-weight: 700; font-size: 13px; }
.ready i { width: 20px; height: 20px; border-radius: 50%; background: var(--jade); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; }

/* 步驟 2：圖文選單設定（設定 › LINE 的縮小版）：預覽固定在上方，下面的項目、版型、樣式往上捲 */
.editor { position: relative; width: 100%; max-width: 280px; height: 470px; border: 2px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--paper); font-size: 13px; display: flex; flex-direction: column; }
.ed-head { flex: none; height: 46px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); font: 700 16px/1 var(--hand); }
.ed-preview { flex: none; position: relative; margin: 12px 12px 0; aspect-ratio: 2500 / 1686; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
/* 兩格（小）的高度只有一半，跟 App 一樣置中 */
.ed-preview img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); opacity: 0; }
.ed-preview img.on { opacity: 1; }
.ed-view { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.ed-scroll { padding: 4px 12px 16px; }
.ed-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 12px 2px 6px; }
.ed-label b { font-size: 13px; }
.ed-label span { font-size: 11px; color: var(--ink-faint); }
.ed-items { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.ed-items li { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; font-weight: 700; }
.ed-items li + li { border-top: 1px solid var(--line); }
.ed-items i { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.ed-items li.on i { background: var(--jade); border-color: var(--jade); }
.ed-items li.on i::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ed-items li:not(.on) { color: var(--ink-soft); font-weight: 400; }
.ed-grid { display: grid; gap: 6px; }
.ed-grid.two { grid-template-columns: 1fr 1fr; }
.ed-grid.three { grid-template-columns: repeat(3, 1fr); }
.ed-opt { display: grid; gap: 4px; padding: 4px 4px 5px; border: 2px solid var(--line); border-radius: 10px; text-align: center; font-weight: 700; font-size: 12px; line-height: 1.3; }
.ed-opt img { display: block; width: 100%; height: auto; border-radius: 6px; }
.ed-opt.sel { border-color: var(--jade); background: var(--mist); color: var(--jade-deep); }
/* 版型縮圖：跟 App 一樣只標 A、B、C、D，A 是深色主格 */
.lay { display: grid; aspect-ratio: 2500 / 1686; gap: 2px; border-radius: 6px; overflow: hidden; }
.lay i { display: grid; place-items: center; background: #cfe8e3; color: var(--jade-deep); font: 700 10px/1 var(--sans); font-style: normal; }
.lay i:first-child { background: var(--jade-deep); color: #fff; }
.lay-4t { grid-template: 1.8fr 1fr / repeat(3, 1fr); }
.lay-4t i:first-child { grid-column: 1 / -1; }
.lay-4g { grid-template: 1fr 1fr / 1fr 1fr; }
.ed-save { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 12px 12px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(23,48,46,.08); transform: translateY(110%); }
.ed-save span, .ed-save b { display: grid; place-items: center; height: 38px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.ed-save span { border: 1.5px solid var(--line-strong); color: var(--ink-soft); }
.ed-save b { background: var(--jade); color: #fff; }
.ed-toast { position: absolute; left: 50%; top: 10px; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px rgba(23,48,46,.25); opacity: 0; transform: translate(-50%, -48px); }
.ed-toast i { width: 18px; height: 18px; border-radius: 50%; background: var(--jade); display: grid; place-items: center; font-style: normal; font-size: 11px; }
/* 動畫由 JS 逐步切換 class；有動畫時才加上轉場 */
.editor.anim .ed-preview img { transition: opacity .35s; }
.editor.anim .ed-scroll { transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
.editor.anim .ed-save, .editor.anim .ed-toast { transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.editor.anim .ed-items i, .editor.anim .ed-opt { transition: background-color .2s, border-color .2s, color .2s; }
.editor.anim .finger { transition: left .5s cubic-bezier(.4, 0, .2, 1), top .5s cubic-bezier(.4, 0, .2, 1), opacity .3s; }
.editor .finger.show { opacity: 1; }
.editor .finger.tap { animation: tap .35s; }
.editor .finger.tap::after { animation: tap-ring .45s; }
.editor.dirty .ed-save { transform: none; }
.editor.saved .ed-toast { opacity: 1; transform: translate(-50%, 0); }
@keyframes tap { 50% { transform: scale(.78); } }
@keyframes tap-ring { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
#menu-stage { gap: 18px; }

/* 步驟 3：LINE 聊天室 → 預約頁 */
.chat { position: relative; width: 100%; max-width: 280px; height: 470px; border: 2px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--chat-bg); font-size: 13px; }
.chat-bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: #fff; border-bottom: 1px solid #e5e5e5; font-weight: 700; font-size: 14px; }
.chat-bar i { width: 26px; height: 26px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font: 700 12px/1 var(--hand); color: var(--jade-deep); font-style: normal; }
.msgs { padding: 14px 12px; display: grid; gap: 10px; }
.bubble { max-width: 82%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: #fff; line-height: 1.55; }
.richmenu { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #e5e5e5; }
/* 步驟 2 做好的圖文選單（田字、手繪插畫、竹林晨霧），用 App 產的圖片 */
.richmenu img { display: block; width: 100%; height: auto; }
.richmenu-foot { text-align: center; padding: 6px 0 8px; font-size: 11px; color: var(--ink-faint); }
/* 手指：白色實心圓＋深色外框，深綠的圖文選單、白色的預約頁上都看得到；按下時往外擴一圈 */
.finger { position: absolute; z-index: 5; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255,255,255,.5); border: 2px solid rgba(23,48,46,.55); box-shadow: 0 4px 12px rgba(23,48,46,.22); opacity: 0; pointer-events: none; }
.finger::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid rgba(178,58,46,.75); opacity: 0; }
/* 圖文選單「我要預約」（左上那一格）按下時亮一下 */
.richmenu { overflow: hidden; }
.richmenu::after { content: ""; position: absolute; left: 1.8%; top: 19.8%; width: 47.6%; height: 32.4%; border-radius: 6px; background: #fff; opacity: 0; pointer-events: none; }
.sheet { position: absolute; inset: 40px 0 0; z-index: 4; background: var(--paper); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(23,48,46,.18); transform: translateY(105%); padding: 0 12px; }
.sheet-bar { display: flex; flex-direction: column; align-items: center; padding: 8px 0 8px; border-bottom: 1px solid var(--line); }
.sheet-bar b { font-size: 13px; }
.sheet-bar small { font-size: 10px; color: var(--ink-faint); }
.sheet h4 { margin: 12px 2px 8px; font: 700 15px/1.3 var(--hand); }
.pick { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; margin-bottom: 6px; border: 1.5px solid var(--line); border-radius: 12px; }
.pick b { font-size: 13px; }
.pick span { font-size: 11px; color: var(--ink-soft); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.times span { text-align: center; padding: 7px 0; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 12px; }
.times .gone { color: var(--line-strong); border-style: dashed; }
.later { opacity: 0; }
/* 重新播放：跟 App「回今天」同一種深色膠囊，放在手機下方 */
.replay { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); cursor: pointer; box-shadow: 0 6px 16px rgba(23,48,46,.2); }
.replay svg { width: 16px; height: 16px; }
.replay:hover { background: var(--jade-deep); }
#chat-stage { gap: 18px; }

/* 步驟 4：預約完成＋行事曆 */
.stage.duo { gap: 18px; }
.done { width: 100%; max-width: 250px; border: 2px solid var(--line); border-radius: 26px; background: var(--paper); padding: 22px 16px 18px; text-align: center; font-size: 13px; }
.check { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: var(--jade); color: #fff; display: grid; place-items: center; font-size: 26px; }
.done h4 { margin-top: 10px; font: 700 20px/1.3 var(--hand); }
.done dl { margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--surface); }
.done dt { color: var(--ink-faint); }
.done dd { font-weight: 700; }
.line-msg { margin-top: 10px; display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); text-align: left; font-size: 12px; color: var(--ink-soft); }
.line-msg i { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--line-green); color: #fff; display: grid; place-items: center; font: 700 8px/1 var(--sans); font-style: normal; }
.owner { position: relative; width: 100%; max-width: 250px; border: 2px solid var(--line); border-radius: 26px; background: var(--paper); padding: 16px 12px 16px; font-size: 13px; }
.owner .phone-head b { font-size: 18px; }
.owner .spine::before { left: calc(44px + 6px + 12px - 1.5px); }
.owner .row { grid-template-columns: 44px 24px 1fr; gap: 6px; }
.owner .row time { font-size: 13px; }
.owner .slot { min-height: 44px; padding: 3px 10px; border-radius: 12px; }
.owner .slot.booked b { font-size: 16px; }
.owner .slot.booked small { font-size: 11px; }
.owner .slot.new { background: var(--jade); border-color: var(--jade-deep); color: #fff; }
.owner .slot.new small { color: #d6ece8; }
.owner .slot.new .tag { background: rgba(255,255,255,.2); color: #fff; }
.owner-push { display: flex; gap: 8px; align-items: center; margin: -4px 0 12px; padding: 8px 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(23,48,46,.1); font-size: 11px; line-height: 1.45; color: var(--ink-soft); }
.owner-push i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--jade); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--hand); font-style: normal; }
.owner-push b { display: block; font-size: 12px; color: var(--ink); }

/* 示範頁面入口：圓角面板，右邊兩支小手機從底部冒出來，一眼看出點進去會看到什麼 */
/* 接在三步驟下面，不另外隔一條線 */
section.demo { padding-top: 0; border-top: 0; }
.demo-panel { position: relative; overflow: hidden; display: grid; gap: 28px; padding: 36px 24px 0; border-radius: 28px; background: var(--mist); }
.demo-text h2 { font-size: clamp(28px, 7vw, 38px); }
.demo-text p { margin-top: 6px; color: var(--ink-soft); }
.demo-text .btn { margin-top: 22px; }
.demo-phones { position: relative; height: 230px; display: flex; justify-content: center; gap: 14px; }
/* 手機寬度兩支並排各佔一半，電腦再固定寬度 */
.mini-phone { flex: 0 1 190px; min-width: 0; height: 300px; padding: 14px 12px; border: 2px solid var(--line-strong); border-bottom: 0; border-radius: 26px 26px 0 0; background: var(--paper); box-shadow: 0 -8px 30px rgba(23,48,46,.12); font-size: 12px; }
.owner-side { transform: rotate(-4deg) translateY(18px); transform-origin: bottom center; }
.guest-side { transform: rotate(4deg) translateY(4px); transform-origin: bottom center; }
.mp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; min-width: 0; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mp-head b { font-size: 15px; white-space: nowrap; }
/* 手機寬度小手機比較窄，右上的小字放不下就不顯示 */
.mp-head span { white-space: nowrap; overflow: hidden; }
.mp-head span { font-size: 10px; color: var(--ink-faint); }
.mp-row { display: grid; grid-template-columns: 36px 1fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.mp-row time { font-size: 11px; font-weight: 700; text-align: right; }
.mp-slot { display: block; padding: 5px 9px; border-radius: 10px; background: var(--mist); border: 1.5px solid rgba(26,127,115,.25); font-weight: 700; font-size: 12px; line-height: 1.3; }
.mp-slot small { display: block; font-weight: 400; font-size: 10px; color: var(--ink-soft); }
.mp-slot.on { background: var(--jade); border-color: var(--jade-deep); color: #fff; }
.mp-slot.on small { color: #d6ece8; }
.mp-slot.empty { background: none; border: 1.5px dashed var(--line-strong); color: var(--jade); }
.mp-dates { display: flex; gap: 4px; margin-bottom: 10px; }
.mp-dates span { flex: 1; text-align: center; padding: 4px 0; border-radius: 10px; font-size: 10px; color: var(--ink-soft); line-height: 1.3; }
.mp-dates b { display: block; font-size: 14px; color: var(--ink); }
.mp-dates .on { background: var(--ink); color: #c9dad7; }
.mp-dates .on b { color: #fff; }
.mp-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mp-times span { text-align: center; padding: 6px 0; border: 1.5px solid var(--line); border-radius: 9px; font-weight: 700; font-size: 11px; }
.mp-times .gone { color: var(--line-strong); border-style: dashed; }
.mp-times .on { border-color: var(--jade); background: var(--mist); color: var(--jade-deep); }
.mp-cta { margin-top: 10px; padding: 8px 0; border-radius: 10px; background: var(--jade); color: #fff; text-align: center; font-weight: 700; }

.plans-page { padding-top: 40px; }
.plans-page h1 { font-size: clamp(34px, 9vw, 52px); }
.top nav a[aria-current="page"] { color: var(--jade-deep); font-weight: 700; }

/* 影響營收的四件事 */
.compare { margin-top: 32px; display: grid; }
.compare-row { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 1px solid var(--line); }
.metric { font-size: 15px; font-weight: 700; color: var(--jade); letter-spacing: .04em; }
.after { font: 700 23px/1.4 var(--hand); }
.after small { display: block; font: 400 16px/1.7 var(--sans); color: var(--ink-soft); margin-top: 4px; }

/* 方案卡片 */
.bill { margin-top: 24px; display: inline-flex; padding: 4px; gap: 4px; border: 2px solid var(--line); border-radius: 999px; }
.bill button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font-weight: 700; font-size: 16px; cursor: pointer; }
.bill button[aria-checked="true"] { background: var(--ink); color: #fff; }
.bill small { font-weight: 500; font-size: 12px; margin-left: 4px; }
.cards { margin: 28px -20px 0; padding: 22px 20px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.card { position: relative; scroll-snap-align: center; display: flex; flex-direction: column; padding: 24px 22px; border: 2px solid var(--line); border-radius: 24px; background: var(--paper); }
.card.pro { border-color: var(--jade); background: linear-gradient(var(--mist), var(--paper) 46%); }
.card h3 { font: 700 26px/1.2 var(--hand); }
.card .pitch { margin-top: 6px; font-size: 15px; color: var(--ink-soft); min-height: 3.4em; }
.price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 700 44px/1 var(--sans); letter-spacing: -.01em; }
.price s { color: var(--ink-faint); font-size: 18px; }
.price span { color: var(--ink-soft); font-size: 15px; }
.price-note { margin-top: 6px; min-height: 1.6em; font-size: 14px; color: var(--ink-soft); }
.card .btn { margin-top: 18px; width: 100%; min-height: 52px; font-size: 17px; }
.card .btn.ghost { box-shadow: inset 0 0 0 2px var(--line-strong); }
.feat { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; font-size: 15px; line-height: 1.6; }
.feat li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.feat li::before { content: "✓"; color: var(--jade); font-weight: 700; }
.feat .lead { grid-template-columns: 1fr; font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.feat .lead::before { content: none; }
/* 進階版限時優惠：右上角品牌日曆臉寫剩幾天，價格下方黃色小標寫截止日。日期由頁面的 script 算，過了截止日整個隱藏 */
.eb-cal { position: absolute; top: -22px; right: 14px; width: 78px; transform: rotate(5deg); filter: drop-shadow(0 6px 10px rgba(23,48,46,.12)); }
.eb-cal svg { display: block; width: 100%; height: auto; }
.eb-cal .h { font: 700 12px/1 var(--sans); fill: #fff; }
.eb-cal .n { font: 700 30px/1 var(--sans); fill: var(--jade-deep); }
.eb-cal .u { font: 700 11px/1 var(--sans); fill: var(--ink-soft); }
.eb-cal.last .n { font-size: 22px; fill: var(--seal); }
.card.pro h3 { padding-right: 90px; }
.price .eb-tag { flex-basis: 100%; }
.eb-tag span { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #fdf1cf; color: #7a5a00; font-size: 13px; font-weight: 700; line-height: 1.6; }
.js .eb-cal { opacity: 0; }
.js .eb-cal.hung { animation: hang .6s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes hang { 0% { opacity: 0; transform: translateY(-14px) rotate(-6deg); } 60% { opacity: 1; transform: translateY(2px) rotate(8deg); } 100% { opacity: 1; transform: rotate(5deg); } }
/* 卡片內每一列（名稱、說明、價格、備註、按鈕、功能）跨卡片對齊，按鈕才會在同一條線 */
@supports (grid-template-rows: subgrid) {
    .cards { grid-template-rows: repeat(6, auto); }
    .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .card .pitch { min-height: 0; }
}
.price-note s { color: var(--ink-faint); }
.dots { margin-top: 10px; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width .2s, background .2s; }
.dots button[aria-current="true"] { width: 22px; background: var(--jade); }
.trial { margin-top: 24px; padding: 18px 20px; border-radius: 20px; background: var(--surface); color: var(--ink-soft); font-size: 15px; }
.trial b { color: var(--ink); }

/* 功能比較表：方案名稱列黏在頁首下方，不橫向捲動 */
.ptable { margin-top: 48px; }
.ptable-title { font: 700 26px/1.3 var(--hand); margin-bottom: 8px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 58px); column-gap: 4px; align-items: stretch; border-bottom: 1px solid var(--line); }
.prow > * { padding: 12px 0; }
.prow > .cell { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 14px; line-height: 1.4; }
.prow > .label { font-size: 15px; line-height: 1.55; }
.prow > .label small { display: block; font-size: 13px; color: var(--ink-faint); }
.phead { position: sticky; top: 60px; z-index: 2; background: var(--paper); align-items: end; border-bottom: 2px solid var(--ink); }
.phead .cell { padding: 10px 0 8px; font: 700 15px/1.2 var(--hand); }
.phead .cell small { display: block; margin-top: 3px; font: 500 11px/1.2 var(--sans); color: var(--ink-soft); }
.pro-col { background: var(--mist); }
.phead .pro-col { border-radius: 12px 12px 0 0; }
.pgroup { padding: 22px 0 6px; font-weight: 700; color: var(--jade-deep); border-bottom: 1px solid var(--line); }
.yes { color: var(--jade); font-weight: 700; font-size: 17px; }
.no { color: var(--line-strong); }
.val { font-weight: 700; }
.cell small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--jade-deep); white-space: nowrap; }
.pmore { padding: 10px 0 12px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

/* 常見問題 */
.faq { margin-top: 28px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; color: var(--jade); font-weight: 400; flex: none; }
details[open] summary::after { content: "－"; }
details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 36em; }

/* 結尾 */
.end .sub a { white-space: nowrap; }
.end .btn { margin-top: 26px; }
.end-note { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }

/* 頁尾：深色收尾，全部置中。聯絡方式做成兩顆膠囊，行業頁一行帶過，條款放最底 */
.site-foot { background: var(--ink); color: #cfe0dc; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.site-foot a { color: inherit; text-decoration: none; }
/* 頁尾字標：老闆端開場的「預見」，白字、黃色微笑和星星 */
.foot-logo { display: inline-block; }
.foot-word { width: 168px; height: auto; display: block; }
.foot-tagline { margin-top: 10px; font-size: 15px; color: #a9c4bf; letter-spacing: .04em; }
.foot-contact { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 15px; transition: background .15s; }
.foot-contact a:hover { background: rgba(255,255,255,.16); }
.foot-contact i { flex: none; display: grid; }
.foot-contact svg { width: 32px; height: 32px; }
.foot-links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.foot-links a { padding: 6px 0; font-size: 15px; color: #cfe0dc; }
.foot-links a:hover, .foot-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { margin: 32px auto 0; max-width: 560px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 8px; font-size: 13px; color: #8fa9a4; }
.foot-legal nav { display: flex; justify-content: center; gap: 24px; }

/* 浮動按鈕：跟 App「回今天」同一種膠囊，捲過首屏才浮上來；比 App 的大一號、免費開始用品牌綠 */
.fabs { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30; display: flex; justify-content: center; gap: 10px; padding: 0 16px; pointer-events: none; opacity: 0; transform: translateY(16px); transition: opacity .25s cubic-bezier(.32,.72,0,1), transform .25s cubic-bezier(.32,.72,0,1); }
.fabs.show { opacity: 1; transform: none; }
.fabs.show .fab { pointer-events: auto; }
.fab { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--jade); color: #fff; font: 700 17px/1 var(--sans); text-decoration: none; box-shadow: 0 10px 28px rgba(15,90,82,.38), 0 0 0 4px rgba(255,255,255,.9); }
.fab:hover { background: var(--jade-deep); }
.fab.ink { background: var(--ink); box-shadow: 0 10px 28px rgba(23,48,46,.32), 0 0 0 4px rgba(255,255,255,.9); }

@media (prefers-reduced-motion: no-preference) {
    .toast { animation: toast 4.2s 1s both; }
    .fill .node { animation: node .3s 2.2s both; }
    .swap > .booked { animation: appear .5s 2.2s both; }
    .swap > .empty { animation: vanish .3s 2.2s both; }
    @keyframes toast { 0% { opacity: 0; transform: translate(-50%, -14px); } 12%, 70% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }
    @keyframes node { to { border-width: 0; background: var(--jade); box-shadow: 0 0 0 4px var(--mist); } }
    @keyframes appear { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
    @keyframes vanish { to { opacity: 0; } }

    /* 步驟 3：點圖文選單 → 預約頁滑上來 → 選項目 → 選 14:00 */
    /* 手指整段一條時間軸（5.6 秒）：1.3s 點我要預約、3.3s 點全身調理、4.7s 點 14:00 */
    .play .finger { animation: finger 5.6s linear both; }
    .play .finger::after { animation: ripple 5.6s linear both; }
    .play .richmenu::after { animation: flash 5.6s linear both; }
    .play .sheet { animation: sheet-up .5s 1.7s cubic-bezier(.2, .8, .2, 1) both; }
    .play .pick.pickme { animation: picked .2s 3.3s both; }
    .play .later { animation: later-in .35s 3.5s both; }
    .play .times .t14 { animation: picked .2s 4.7s both; }
    @keyframes finger {
        0% { opacity: 0; left: 72%; top: 40%; transform: scale(1); }
        8% { opacity: 1; left: 72%; top: 42%; }
        21% { left: 25%; top: 69%; transform: scale(1); }
        23% { transform: scale(.78); }
        27% { opacity: 1; transform: scale(1); }
        32% { opacity: 0; left: 25%; top: 69%; }
        44% { opacity: 0; left: 66%; top: 52%; }
        48% { opacity: 1; }
        57% { left: 50%; top: 35%; transform: scale(1); }
        59% { transform: scale(.78); }
        62% { left: 50%; top: 35%; transform: scale(1); }
        80% { left: 20%; top: 71%; transform: scale(1); }
        84% { transform: scale(.78); }
        88% { opacity: 1; transform: scale(1); }
        96%, 100% { opacity: 0; left: 20%; top: 71%; }
    }
    @keyframes ripple {
        0%, 23% { opacity: 0; transform: scale(.6); }
        23.5% { opacity: 1; transform: scale(.6); }
        31% { opacity: 0; transform: scale(1.5); }
        31.1%, 59% { opacity: 0; transform: scale(.6); }
        59.5% { opacity: 1; transform: scale(.6); }
        67% { opacity: 0; transform: scale(1.5); }
        67.1%, 84% { opacity: 0; transform: scale(.6); }
        84.5% { opacity: 1; transform: scale(.6); }
        92%, 100% { opacity: 0; transform: scale(1.5); }
    }
    @keyframes flash { 0%, 23% { opacity: 0; } 24% { opacity: .28; } 30%, 100% { opacity: 0; } }
    @keyframes sheet-up { from { transform: translateY(105%); } to { transform: none; } }
    @keyframes picked { to { border-color: var(--jade); background: var(--mist); color: var(--jade-deep); } }
    @keyframes later-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    .toast { display: none; }
    .swap > .booked { opacity: 1; }
    .swap > .empty { opacity: 0; }
    .fill .node { border-width: 0; background: var(--jade); box-shadow: 0 0 0 4px var(--mist); }
    .sheet { transform: none; }
    .later { opacity: 1; }
    .pick.pickme, .times .t14 { border-color: var(--jade); background: var(--mist); color: var(--jade-deep); }
    .js .eb-cal { opacity: 1; }
    .js .eb-cal.hung { animation: none; }
    .fabs { transition: none; }
    .finger, .replay { display: none; }
}
/* 動畫播完停在最後一格 */
.final .sheet { transform: none; }
.final .later { opacity: 1; }
.final .pick.pickme, .final .times .t14 { border-color: var(--jade); background: var(--mist); color: var(--jade-deep); }

@media (min-width: 640px) {
    .cards { grid-auto-columns: 46%; }
}

@media (min-width: 960px) {
    .top nav { display: flex; }
    .top .btn { display: inline-flex; }
    .hero { padding: 72px 0 96px; }
    .hero .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; }
    .hero-cta .btn { flex: none; }
    .lede { font-size: 20px; }
    .lede span, .lede i { display: inline; }
    section { padding: 96px 0; }
    .step { grid-template-rows: auto 1fr; }
    .stage { align-content: center; }
    .compare-row { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: baseline; }
    .narrow > * { max-width: 780px; }
    .cards { margin: 36px 0 0; padding: 22px 0 0; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
    .dots { display: none; }
    .prow { grid-template-columns: minmax(0, 1fr) repeat(3, 150px); column-gap: 8px; }
    .prow > .label { font-size: 16px; }
    .prow > .cell { font-size: 15px; }
    .phead .cell { font-size: 22px; }
    .phead .cell small { font-size: 13px; }
    .cell small { font-size: 13px; }
}
/* 電腦：步驟 1、2、3 三支手機並排，步驟 4 整列，手機與電腦行事曆並排 */
@media (min-width: 960px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
    .step.wide { grid-column: 1 / -1; }
    @supports (grid-template-rows: subgrid) {
        .step { grid-row: span 2; grid-template-rows: subgrid; }
    }
    .demo-panel { grid-template-columns: 1fr 1fr; align-items: center; padding: 0 0 0 56px; min-height: 300px; }
    .demo-text { padding: 48px 0; }
    .demo-phones { align-self: end; height: 270px; gap: 18px; }
    .mini-phone { flex-basis: 210px; }
    .step.wide .step-text { max-width: 560px; }
    .stage { min-height: 540px; }
    .stage.duo { min-height: 0; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 48px; padding: 40px; }
}

/* 產業頁：標題比首頁長，字小一級，「LINE 預約系統」不拆行 */
.h1-industry { font-size: clamp(38px, 10vw, 64px); }
.nowrap { white-space: nowrap; }
/* 兩小時的項目佔兩格高 */
.slot.long { min-height: 112px; }
.price-line { margin-top: 28px; padding: 20px; border-radius: 20px; background: var(--surface); color: var(--ink-soft); font-size: 15px; }
.price-line b { color: var(--ink); }

/* 文章 */
.crumb { padding-top: 28px; font-size: 14px; color: var(--ink-faint); }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.article { padding: 20px 0 64px; }
.article h1 { font-size: clamp(32px, 8vw, 46px); line-height: 1.3; }
.article .meta { margin-top: 12px; font-size: 14px; color: var(--ink-faint); }
.prose { margin-top: 28px; max-width: 36em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(26px, 6vw, 32px); }
.prose h3 { margin-top: 1.6em; font: 700 21px/1.45 var(--hand); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--jade-deep); font-weight: 500; }
.prose blockquote { padding: 14px 18px; border-left: 3px solid var(--jade); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { border-bottom: 2px solid var(--ink); }
.prose table.keycol td:first-child { white-space: nowrap; }
.article-cta { margin-top: 48px; padding: 24px; border-radius: 20px; background: var(--mist); max-width: 36em; }
.article-cta h2 { font-size: 26px; }
.article-cta p { margin-top: 8px; color: var(--ink-soft); }
.article-cta .btn { margin-top: 18px; }
/* 文章列表：像雜誌目錄，不用圖。最上面深色區塊放最新一篇，下面是產業色條＋大標題 */
.band { padding: 0; border: 0; background: var(--ink); color: #fff; }
.band .wrap { padding-top: 44px; padding-bottom: 48px; }
.band-head h1 { font: 700 18px/1.4 var(--sans); color: #a9c4bf; letter-spacing: .04em; }
.band-head p { margin-top: 4px; font-size: 15px; color: #a9c4bf; }
.band-post { display: block; margin-top: 22px; color: #fff; text-decoration: none; }
.band-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; color: #a9c4bf; }
.band-post b { display: block; margin-top: 8px; max-width: 18em; font: 700 clamp(30px, 8vw, 52px)/1.3 var(--hand); }
.band-desc { display: block; margin-top: 14px; max-width: 36em; color: #cfe0dc; }
.band-more { display: inline-flex; align-items: center; margin-top: 24px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; }
.band-post:hover .band-more { background: var(--mist); }
.topic { font: 700 14px/1.4 var(--sans); }
.topic.beauty { color: #a0476b; }
.topic.care { color: #1a7f73; }
.topic.general { color: #8a5d0c; }
.band .topic.beauty { color: #f0b9cf; }
.band .topic.care { color: #8fd6c9; }
.band .topic.general { color: #f0cf8a; }
.toolbar { display: flex; gap: 8px; overflow-x: auto; padding: 24px 0 8px; scrollbar-width: none; }
.toolbar button { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink-soft); font: 500 15px/1 var(--sans); cursor: pointer; }
.toolbar button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toc { list-style: none; padding: 0; margin: 8px 0 72px; }
.toc a { display: grid; grid-template-columns: 4px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.toc-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-faint); }
.toc-bar { border-radius: 4px; }
.toc-bar.beauty { background: #a0476b; }
.toc-bar.care { background: #1a7f73; }
.toc-bar.general { background: #d3a54a; }
.toc b { display: block; font: 700 22px/1.45 var(--hand); color: var(--ink); }
.toc-desc { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.toc a:hover b { color: var(--jade-deep); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 860px) {
    .band .wrap { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
    .band-post { margin-top: 0; }
    .toc a { grid-template-columns: 200px 4px 1fr; gap: 28px; padding: 28px 0; }
    .toc-meta { grid-column: auto; flex-direction: column; gap: 4px; padding-top: 6px; font-size: 14px; }
    .toc b { font-size: 28px; }
    .toc-desc { max-width: 40em; }
}

/* ---------- AI 智能客服 Beta（方案頁比較表下方、首頁四件事之後；對話示意進入畫面時播一次） ---------- */
.ai-beta-grid { display: grid; gap: 36px; align-items: center; }
.ai-beta h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.beta-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1.5px var(--jade); color: var(--jade-deep); font: 700 15px/1.6 var(--sans); letter-spacing: .02em; }
.ai-points { list-style: none; padding: 0; margin-top: 26px; display: grid; }
.ai-points li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 16px; }
.ai-points li:last-child { border-bottom: 1px solid var(--line); }
.ai-points b { display: block; color: var(--ink); font: 700 19px/1.4 var(--hand); margin-bottom: 2px; }
.ai-who { margin-top: 22px; font-weight: 700; color: var(--jade-deep); text-wrap: pretty; }
.ai-beta .sub, .ai-points li, .ai-note { text-wrap: pretty; }
.ai-note { margin-top: 8px; font-size: 14px; color: var(--ink-faint); max-width: 34em; }
.ai-more { display: inline-block; margin-top: 18px; }
.ai-stage { display: grid; justify-items: center; }
/* 對話示意：沿用首頁的 LINE 聊天室外框，高度跟著內容 */
.chat.ai-chat { display: flex; flex-direction: column; height: 430px; max-width: 300px; }
/* LINE 聊天室底部的輸入列：訊息從上往下排，空白留在中間，看起來才像真的聊天室 */
.chat-input { margin: auto 10px 10px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink-faint); font-size: 12px; }
.bubble.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: #a6e17e; }
/* LINE 的確認卡片（與 App 送出的卡片同樣的內容與按鈕） */
.fcard { max-width: 86%; padding: 14px 14px 12px; border-radius: 18px; background: #fff; }
.fcard small { display: block; font-size: 11px; color: var(--ink-faint); }
.fcard .when { display: block; margin-top: 2px; font: 700 19px/1.3 var(--hand); color: var(--jade-deep); }
.fcard dl { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 12px; }
.fcard dt { color: var(--ink-faint); }
.fcard dd { text-align: right; font-weight: 700; }
.fcard-btns { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fcard-btns span { display: grid; place-items: center; height: 32px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--jade-deep); font-weight: 700; font-size: 12px; }
.fcard-btns .ok { background: var(--jade); box-shadow: none; color: #fff; }
/* 進階版卡片最後一行：不是功能項目，是連到下方 Beta 說明的附註 */
.feat .feat-note { grid-template-columns: 1fr; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 14px; }
.feat .feat-note::before { content: none; }
@media (prefers-reduced-motion: no-preference) {
    .js .ai-chat .msgs > * { opacity: 0; transform: translateY(10px); }
    .js .ai-chat.play .msgs > * { animation: ai-in .45s cubic-bezier(.2,.8,.3,1) forwards; }
    .js .ai-chat.play .msgs > :nth-child(2) { animation-delay: .9s; }
    .js .ai-chat.play .msgs > :nth-child(3) { animation-delay: 1.6s; }
}
@keyframes ai-in { to { opacity: 1; transform: none; } }
@media (min-width: 860px) {
    .ai-beta-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
}
/* 對店家開放前先隱藏（HTML 的 hidden）：.feat li 的 display 會蓋過 hidden，這裡明確指定 */
.ai-beta[hidden], .feat-note[hidden] { display: none !important; }
