/* 留 Email 表單：任何頁面放 <form data-lead> 就能用（送出在 lead-form.js）。顏色照品牌：深藍 #02539C、淺藍 #B3CBE1、底 #F2F6FA、字 #0E141B */
.hs-lead { padding: calc(var(--nav, 60px) + 28px) clamp(18px, 5vw, 64px) 40px; scroll-snap-align: start; background: #fff; min-height: 100svh; display: flex; align-items: center; }
.hs-lead-in { width: 100%; max-width: 640px; margin: 0 auto; }
.hs-lead-sub { margin-top: 10px; color: #4B5A6B; }
.hs-lead-promise { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 16px 0 20px; }
.hs-lead-promise li { background: #F2F6FA; border: 1px solid #B3CBE1; border-radius: 999px; padding: 4px 12px; font-size: .92rem; color: #0E141B; }
.hs-lead form { display: grid; gap: 14px; }
.hs-lead label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: #0E141B; }
.hs-lead label small { font-weight: 400; color: #4B5A6B; }
.hs-lead input[type="email"], .hs-lead input[type="text"], .hs-lead input[type="url"], .hs-lead textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid #8FA6BD; border-radius: 6px; background: #fff; color: #0E141B; width: 100%; min-height: 48px; }
.hs-lead input:focus-visible, .hs-lead textarea:focus-visible { outline: 3px solid #02539C; outline-offset: 2px; }
.hs-lead .hs-lead-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; line-height: 1.55; color: #33414F; }
.hs-lead-consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: #02539C; }
.hs-lead-consent a { color: #02539C; }
.hs-lead button[type="submit"] { font: inherit; font-weight: 700; border: 0; cursor: pointer; min-height: 48px; justify-self: start; padding: 13px 28px; }
.hs-lead button[disabled] { opacity: .6; cursor: progress; }
.hs-lead-msg { min-height: 1.4em; color: #A12A1E; font-size: .95rem; }
.hs-lead-done { background: #F2F6FA; border-left: 4px solid #02539C; padding: 16px 18px; border-radius: 6px; }
.hs-lead-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hs-trust { margin-top: 14px; font-size: .9rem; color: #4B5A6B; }
/* 首頁整頁 scroll-snap mandatory：表單比手機畫面高（390 寬約 1,060px），吸附會把中間跳過、送出鈕停不住。表單那段在畫面上時暫停吸附（lead-form.js 切這個 class） */
html.hs-lead-free { scroll-snap-type: none; }
.hs-lead form[hidden], .hs-lead-done[hidden] { display: none; }   /* 上面 form 寫了 display:grid，會蓋掉 hidden 屬性 */
.hs-lead textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hs-lead-price { margin-top: 8px; font-weight: 700; color: #0E141B; }
.hs-lead-scope { margin: 0 0 14px; font-size: .92rem; color: #33414F; }
.hs-lead-quota { margin: 0 0 14px; font-weight: 700; color: #02539C; }
/* 切角第一屏：拍預設垂直置中，切角段右欄沒有插圖時手機上方會空一大片 → 靠上排；右欄放三封示意信 */
html[data-variant="a"] .hs-beat.hs-angle, .hs-beat.hs-angle { align-content: start; }   /* 同 hs-next.css 的 .hs-try：首頁是 A 版，置中規則寫在 html[data-variant="a"] .hs-beat */
@media (max-width: 979px) { html[data-variant="a"] .hs-beat.hs-angle, .hs-beat.hs-angle { grid-template-rows: auto auto; padding-top: calc(var(--nav, 60px) + 20px); } }
.hs-angle-h { margin: 8px 0 12px; text-wrap: balance; font-size: clamp(1.9rem, 6.2vw, 3rem); }   /* 切角標題比封面長（a2 十六個字）：桌機上限 3rem，兩行排得下、不會斷在詞中間 */
.hs-angle-cta { margin-top: 20px; }
.hs-letters { background: #fff; border: 1px solid #B3CBE1; border-radius: 10px; padding: 16px; position: relative; align-self: center; }
.hs-letters-tag { position: absolute; top: -11px; right: 14px; background: #02539C; color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.hs-letters ul { list-style: none; display: grid; gap: 10px; }
.hs-letters li { display: flex; gap: 10px; align-items: flex-start; background: #F2F6FA; border-left: 4px solid #02539C; border-radius: 6px; padding: 12px 14px; }
.hs-letters li::before { content: "✉"; color: #02539C; font-size: 1.05rem; line-height: 1.5; flex: none; }
.hs-letter-subj { font-weight: 700; color: #0E141B; line-height: 1.5; }
.hs-letters-note { margin-top: 12px; color: #4B5A6B; font-size: .92rem; }
/* 表單前面：它看什麼、每封信怎麼寫 */
.hs-lead-how { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #DCE6F0; }
.hs-lead-sees { list-style: none; display: grid; gap: 10px; margin: 14px 0; }
.hs-lead-sees li { background: #F2F6FA; border-radius: 8px; padding: 12px 14px; color: #33414F; }
.hs-lead-sees b { display: block; color: #02539C; margin-bottom: 2px; }
.hs-lead-each { font-weight: 600; color: #0E141B; }
.hs-lead-promise { flex-direction: column; }
.hs-lead-promise li { border-radius: 8px; }
.hs-lead-promise a { color: #02539C; }
/* 切角 a2／a3 的對話示意（同示意信的框）：老闆、店員靠左，AI 靠右；範圍說明字級接近副標，不能小到看不見（copy-pack ④-a2／a3） */
.hs-chat ul { gap: 8px; }
.hs-chat li { display: grid; gap: 2px; max-width: 88%; border-left: 0; padding: 10px 14px; }
.hs-chat li::before { content: none; }
.hs-chat .hs-chat-them { background: #F2F6FA; justify-self: start; border-radius: 4px 12px 12px 12px; }
.hs-chat .hs-chat-ai { background: #E3EEF8; justify-self: end; border-radius: 12px 4px 12px 12px; }
.hs-chat-who { font-size: .8rem; font-weight: 700; color: #02539C; }
.hs-chat-say { color: #0E141B; line-height: 1.55; }
.hs-chat-url { color: #02539C; text-decoration: underline; overflow-wrap: anywhere; }
.hs-chat-poster { display: block; margin-top: 6px; background: #02539C; color: #fff; font-weight: 800; font-size: 1.25rem; text-align: center; padding: 18px 12px; border-radius: 8px; letter-spacing: .08em; }
.hs-angle-scope { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #B3CBE1; font-size: clamp(1rem, 2.6vw, 1.2rem); line-height: 1.6; color: #0E141B; }
.hs-angle-more { margin-top: 10px; font-size: .95rem; color: #33414F; }
.hs-angle-more a { color: #02539C; font-weight: 700; }
/* 表單那段在畫面上時（lead-form.js 標 hs-lead-free）藏起右下角 LINE 聊聊浮鈕：390 寬時它會蓋到 Email 欄。浮鈕樣式是 line-fab.js 用行內樣式設的，所以要 !important */
html.hs-lead-free #lineFab { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
/* 表單那段裡面也放吸附點：網址或程式一次跳到表單中間（例：瀏覽器捲到某一欄、上一頁還原位置）時，整頁吸附還沒被 hs-lead-free 解除。
   這段比一個螢幕高，只有段首一個吸附點的話，WebKit 會吸到比較近的下一段；裡面每一欄都是吸附點，最近的就一定在表單裡 */
.hs-lead, .hs-lead h2, .hs-lead form > label, .hs-lead form > button { scroll-snap-align: start; }
