/* ==========================================================================
   EC-ORDER 首頁 v2（2026-11-07）
   只在 body.hp 生效，其他行銷頁不受影響。
   ========================================================================== */

:root {
  --hp-ink: #0b1220;
  --hp-ink-2: #414b57;
  --hp-ink-3: #5e6a78;
  --hp-brand: #c2410c;
  --hp-deep: #9a3412;
  --hp-cta: #f97316;
  --hp-cta-hover: #ea580c;
  --hp-cta-ink: #0b1220;
  --hp-soft: #fff1e6;
  --hp-paper: #fbf8f3;
  --hp-white: #fff;
  --hp-line: #e8dfd3;
  --hp-line-soft: #f1e9df;
  --hp-warn: #b45309;
  --hp-ok: #2c6a4e;
  --hp-amber: #f59e0b;
  --hp-pad: 20px;
  --hp-max: 1120px;
  --hp-hero-top: #fff4e6;
  --hp-footer-bg: #0b1220;
  --hp-brand-line: rgba(194, 65, 12, .26);
  --hp-brand-line-2: #f3c9a8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.hp {
  margin: 0;
  background: var(--hp-paper);
  color: var(--hp-ink);
  font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", "Heiti TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

body.hp img { max-width: 100%; display: block; }
body.hp a { color: inherit; }
body.hp p { margin: 0; }
body.hp ul, body.hp ol { margin: 0; padding: 0; list-style: none; }
body.hp h1, body.hp h2, body.hp h3, body.hp h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
body.hp button { font: inherit; }

.hp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 16px;
  background: var(--hp-ink);
  color: #fff;
  text-decoration: none;
}
.hp-skip:focus { left: 0; }
body.hp [id] { scroll-margin-top: 84px; }
.hp-anchor { display: block; height: 0; }

.hp-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hp-wrap {
  width: 100%;
  max-width: var(--hp-max);
  margin: 0 auto;
  padding: 0 var(--hp-pad);
}

body.hp a:focus-visible,
body.hp button:focus-visible,
body.hp summary:focus-visible {
  outline: 3px solid #2f7f72;
  outline-offset: 2px;
}

/* ---------- 按鈕 ---------- */

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
body.hp .hp-btn--primary { background: var(--hp-cta); border-color: var(--hp-cta); color: var(--hp-cta-ink); }
body.hp .hp-btn--primary:hover { background: var(--hp-cta-hover); border-color: var(--hp-cta-hover); }
body.hp .hp-btn--ghost { background: transparent; border-color: var(--hp-line); color: var(--hp-ink); }
.hp-btn--ghost:hover { background: #fff; border-color: var(--hp-ink); }
.hp-btn--sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.hp-btn--block { display: flex; width: 100%; }

/* ---------- 頂部提示 ---------- */

.hp-ribbon {
  background: var(--hp-deep);
  color: #f7eee7;
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.hp-ribbon .hp-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 8px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.hp-ribbon b { color: #fff; font-weight: 600; }
.hp-ribbon a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.hp-ribbon__time { display: none; color: #e6d8cc; }

/* ---------- 導覽 ---------- */

.hp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 243, 0.94);
  border-bottom: 1px solid var(--hp-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hp-header.is-stuck { box-shadow: 0 6px 18px rgba(18, 30, 28, 0.06); }
.hp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}
.hp-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}
.hp-logo__mark {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  background: var(--hp-brand);
  color: var(--hp-paper);
}
.hp-logo__mark svg { width: 17px; height: 17px; }
.hp-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.hp-logo__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .07em;
}
.hp-logo__sub {
  font-size: 15px;
  color: var(--hp-ink-3);
  letter-spacing: .12em;
}

.hp-nav { display: none; }

.hp-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.hp-header__login {
  display: none;
  font-size: 15.5px;
  color: var(--hp-ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.hp-header__login:hover { color: var(--hp-ink); border-bottom-color: var(--hp-brand); }

.hp-burger {
  position: relative;
  width: 42px; height: 42px;
  margin-left: 4px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--hp-line);
  border-radius: 2px;
  cursor: pointer;
}
.hp-burger span,
.hp-burger span::before,
.hp-burger span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--hp-ink);
  transform: translateX(-50%);
  content: "";
}
.hp-burger span { top: 20px; }
.hp-burger span::before { top: -6px; }
.hp-burger span::after { top: 6px; }

.hp-mobile-nav {
  display: none;
  padding: 10px var(--hp-pad) 18px;
  background: var(--hp-paper);
  border-top: 1px solid var(--hp-line-soft);
}
body.hp-nav-open .hp-mobile-nav { display: grid; gap: 2px; }
.hp-mobile-nav a {
  padding: 11px 2px;
  border-bottom: 1px solid var(--hp-line-soft);
  font-size: 16.5px;
  text-decoration: none;
}
.hp-mobile-nav .hp-btn { margin-top: 10px; border-bottom: 0; color: var(--hp-cta-ink); }

/* ---------- HERO ---------- */

.hp-hero {
  padding: 34px 0 30px;
  background: linear-gradient(180deg, var(--hp-hero-top) 0%, var(--hp-paper) 62%);
  overflow: hidden;
}
.hp-hero__grid { display: grid; gap: 30px; }
.hp-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--hp-amber);
  color: var(--hp-brand);
  font-size: 15.5px;
  letter-spacing: .04em;
}
body.hp h1 {
  font-size: clamp(30px, 7.4vw, 48px);
  line-height: 1.28;
  letter-spacing: -.01em;
  max-width: 15em;
}
body.hp h1 em {
  font-style: normal;
  color: var(--hp-brand);
  border-bottom: 2px solid rgba(245, 158, 11, .55);
}
.hp-lede {
  max-width: 33em;
  margin-top: 16px;
  color: var(--hp-ink-2);
  font-size: 16.5px;
  line-height: 1.85;
}
.hp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hp-hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 12px;
  color: var(--hp-ink-3);
  font-size: 15.5px;
  letter-spacing: .02em;
}
.hp-hero__note span { display: inline-block; }
.hp-hero__login {
  margin-top: 16px;
  font-size: 15px;
  color: var(--hp-ink-3);
}
.hp-hero__login a {
  color: var(--hp-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 票券 + 隊列 */
.hp-hero__visual { position: relative; }
.hp-tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.hp-ticket {
  padding: 9px 11px;
  background: var(--hp-white);
  border: 1px solid #cfd2c9;
  border-left: 3px solid var(--hp-soft);
  box-shadow: 0 5px 14px rgba(20, 30, 28, .06);
  font-size: 15.5px;
  line-height: 1.5;
}
.hp-ticket:nth-child(1) { transform: rotate(-1.2deg); }
.hp-ticket:nth-child(2) { transform: rotate(.8deg); }
.hp-ticket:nth-child(3) { transform: rotate(1deg); }
.hp-ticket:nth-child(4) { transform: rotate(-.6deg); }
.hp-ticket__p { color: var(--hp-ink-3); font-size: 15px; letter-spacing: .04em; }
.hp-ticket__n { font-size: 15.5px; font-weight: 700; letter-spacing: .03em; }
.hp-barcode {
  display: flex;
  gap: 2px;
  height: 10px;
  margin-top: 6px;
  align-items: flex-end;
  opacity: .45;
}
.hp-barcode i { display: block; width: 1px; height: 100%; background: var(--hp-ink); }
.hp-barcode i:nth-child(2n) { width: 2.5px; }
.hp-barcode i:nth-child(3n) { height: 72%; }

.hp-queue {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  box-shadow: 0 12px 30px rgba(18, 30, 28, .08);
}
.hp-queue__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--hp-line-soft);
  background: #fcfcfa;
  font-size: 15.5px;
  color: var(--hp-ink-2);
}
.hp-queue__top b { color: var(--hp-ink); font-weight: 600; }
.hp-sync { display: inline-flex; align-items: center; gap: 5px; color: var(--hp-ok); font-size: 15px; white-space: nowrap; }
.hp-sync i { width: 5px; height: 5px; border-radius: 50%; background: var(--hp-ok); }

.hp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--hp-line-soft);
}
.hp-stat { padding: 10px 12px; border-right: 1px solid var(--hp-line-soft); }
.hp-stat:last-child { border-right: 0; }
.hp-stat__n { font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.hp-stat__n small { margin-left: 3px; font-size: 15px; font-weight: 400; color: var(--hp-ink-3); }
.hp-stat__l { font-size: 15px; color: var(--hp-ink-3); }

.hp-orow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--hp-line-soft);
  font-size: 15.5px;
}
.hp-ono { color: var(--hp-ink-3); font-size: 15px; letter-spacing: .03em; }
.hp-omain { min-width: 0; }
.hp-omain b { display: block; overflow: hidden; font-size: 15.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hp-omain span { display: block; overflow: hidden; font-size: 15px; color: var(--hp-ink-3); text-overflow: ellipsis; white-space: nowrap; }
.hp-chip {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--hp-line);
  border-radius: 2px;
  background: #fff;
  color: var(--hp-ink-2);
  font-size: 15px;
  white-space: nowrap;
}
.hp-chip--wait { border-color: #e2c0b2; background: #fdf3ef; color: var(--hp-warn); }
.hp-chip--ok { border-color: #bdd2c6; background: #f1f7f3; color: var(--hp-ok); }
.hp-queue__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  color: var(--hp-warn);
  font-size: 15.5px;
}
.hp-figure-note {
  margin-top: 8px;
  color: var(--hp-ink-3);
  font-size: 15px;
  text-align: right;
}

/* ---------- 事實條 ---------- */

.hp-facts {
  background: var(--hp-white);
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
}
.hp-facts .hp-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hp-fact {
  padding: 16px 14px 16px 0;
  border-right: 1px solid var(--hp-line-soft);
  border-bottom: 1px solid var(--hp-line-soft);
}
.hp-fact:nth-child(2n) { padding-left: 14px; border-right: 0; }
.hp-fact:nth-last-child(-n+2) { border-bottom: 0; }
.hp-fact__n { font-size: 17px; font-weight: 700; line-height: 1.4; }
.hp-fact__l { margin-top: 2px; color: var(--hp-ink-3); font-size: 15.5px; line-height: 1.6; }

/* ---------- 區塊骨架 ---------- */

.hp-sec { padding: 52px 0; }
.hp-sec--white { background: var(--hp-white); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.hp-sec__head { margin-bottom: 24px; }
.hp-num {
  display: block;
  margin-bottom: 8px;
  color: var(--hp-ink-3);
  font-size: 15.5px;
  letter-spacing: .08em;
}
.hp-num--light { color: #e6d8cc; }
body.hp h2 { font-size: clamp(22px, 5.4vw, 32px); line-height: 1.35; max-width: 22em; }
.hp-sec__head p {
  max-width: 36em;
  margin-top: 10px;
  color: var(--hp-ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------- 對照 ---------- */

.hp-compare { border: 1px solid var(--hp-line); background: var(--hp-white); }
.hp-cmp-row { border-bottom: 1px solid var(--hp-line-soft); }
.hp-cmp-row:last-child { border-bottom: 0; }
.hp-cmp-a, .hp-cmp-b { padding: 12px 14px; font-size: 15px; }
.hp-cmp-a { background: #fbfbf8; color: var(--hp-ink-2); }
.hp-cmp-a span, .hp-cmp-b span {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  letter-spacing: .06em;
}
.hp-cmp-a span { color: var(--hp-warn); }
.hp-cmp-b { border-top: 1px dashed var(--hp-line-soft); }
.hp-cmp-b span { color: var(--hp-brand); }
.hp-cmp-b b { font-weight: 600; }

/* ---------- 客群 ---------- */

.hp-audience { display: grid; gap: 0; border-top: 1px solid var(--hp-line); }
.hp-aud { padding: 18px 0; border-bottom: 1px solid var(--hp-line-soft); }
.hp-aud__tag {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--hp-brand);
  font-size: 15px;
  letter-spacing: .08em;
}
.hp-aud h3 { font-size: 18px; }
.hp-aud p { margin-top: 7px; color: var(--hp-ink-2); font-size: 15px; line-height: 1.8; }
.hp-aud__fit { color: var(--hp-ink) !important; font-size: 15.5px !important; }
.hp-aud a {
  display: inline-block;
  margin-top: 10px;
  color: var(--hp-brand);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--hp-brand-line);
}

/* ---------- 流程 ---------- */

.hp-flow { border-top: 1px solid var(--hp-line); }
.hp-step { padding: 15px 0; border-bottom: 1px solid var(--hp-line-soft); }
.hp-step__n {
  width: 40px; height: 40px;
  margin-bottom: 9px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hp-line);
  background: var(--hp-white);
  color: var(--hp-brand);
  font-size: 15.5px;
  font-weight: 700;
}
.hp-step__t { font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.hp-step__t span {
  display: block;
  margin-top: 5px;
  color: var(--hp-ink-2);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}
.hp-step__meta { margin-top: 5px; color: var(--hp-ink-3); font-size: 15px; }

/* ---------- 官網串接 ---------- */

.hp-ccards { border-top: 1px solid var(--hp-line); }
.hp-ccard { padding: 18px 0; border-bottom: 1px solid var(--hp-line-soft); }
.hp-ccard h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
}
.hp-tag {
  padding: 1px 6px;
  border: 1px solid var(--hp-brand-line-2);
  border-radius: 2px;
  color: var(--hp-brand);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .05em;
  white-space: nowrap;
}
.hp-ccard p { margin-top: 7px; color: var(--hp-ink-2); font-size: 15px; line-height: 1.8; }
.hp-ccard dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  margin: 10px 0 0;
  font-size: 15.5px;
}
.hp-ccard dt { color: var(--hp-ink-3); }
.hp-ccard dd { margin: 0; }
.hp-note {
  margin-top: 16px;
  padding-left: 10px;
  border-left: 2px solid var(--hp-line);
  color: var(--hp-ink-3);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- 庫存分配 ---------- */

.hp-alloc { margin-top: 18px; border: 1px solid var(--hp-line); background: var(--hp-white); }
.hp-alloc__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--hp-line-soft);
  background: #fcfcfa;
}
.hp-alloc__cap b { font-size: 15.5px; }
.hp-alloc__cap span { color: var(--hp-ink-3); font-size: 15px; }
.hp-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; }
.hp-table th, .hp-table td { padding: 9px 8px; border-bottom: 1px solid var(--hp-line-soft); text-align: left; vertical-align: middle; }
.hp-table thead th { background: #fcfcfa; color: var(--hp-ink-3); font-size: 15px; font-weight: 400; letter-spacing: .02em; }
.hp-table tbody th { font-weight: 600; }
.hp-table tbody tr:last-child th, .hp-table tbody tr:last-child td { border-bottom: 0; }
.hp-em { color: var(--hp-warn); }
.hp-nb { white-space: nowrap; }
.hp-alloc__foot { padding: 10px 13px; border-top: 1px solid var(--hp-line-soft); color: var(--hp-ink-3); font-size: 15.5px; line-height: 1.6; }

.hp-rules { margin-top: 18px; border-top: 1px solid var(--hp-line); }
.hp-rules li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hp-line-soft);
  font-size: 15px;
  line-height: 1.75;
}
.hp-rules i { color: var(--hp-brand); font-style: normal; font-weight: 700; }

/* ---------- 營運分析 ---------- */

.hp-dash { margin-top: 18px; border: 1px solid var(--hp-line); background: var(--hp-white); }
.hp-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-bottom: 1px solid var(--hp-line-soft);
  background: #fcfcfa;
}
.hp-dash__head b { font-size: 15.5px; }
.hp-dash__head span { color: var(--hp-ink-3); font-size: 15px; }
.hp-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hp-line-soft);
}
.hp-kpi { padding: 11px 13px; border-right: 1px solid var(--hp-line-soft); border-bottom: 1px solid var(--hp-line-soft); }
.hp-kpi:nth-child(2n) { border-right: 0; }
.hp-kpi:nth-last-child(-n+2) { border-bottom: 0; }
.hp-kpi__l { color: var(--hp-ink-3); font-size: 15px; }
.hp-kpi__v { font-size: 22px; font-weight: 700; line-height: 1.3; }
.hp-kpi__v small { font-size: 15px; font-weight: 400; }
.hp-kpi__d { color: var(--hp-ok); font-size: 15px; }
.hp-kpi__d--warn { color: var(--hp-warn); }
.hp-bars { padding: 13px; }
.hp-bar-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
  font-size: 15px;
}
.hp-bar { height: 8px; background: #edece8; }
.hp-bar__fill { height: 100%; background: var(--hp-brand); }
.hp-bar-row span:last-child { color: var(--hp-ink-2); text-align: right; }
.hp-bars__note { margin-top: 2px; color: var(--hp-ink-3); font-size: 15px; }

/* ---------- 方案 ---------- */

.hp-plans { display: grid; gap: 14px; margin-top: 20px; }
.hp-plan {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--hp-line);
  background: var(--hp-white);
}
.hp-plan--feature { border-color: var(--hp-brand); box-shadow: 0 0 0 1px var(--hp-brand) inset; }
.hp-plan__badge {
  position: absolute;
  top: -1px; right: -1px;
  padding: 3px 9px;
  background: var(--hp-cta);
  color: var(--hp-cta-ink);
  font-size: 15px;
  letter-spacing: .06em;
}
.hp-plan__n { font-size: 18px; }
.hp-plan__w { margin-top: 2px; color: var(--hp-ink-3); font-size: 15.5px; }
.hp-plan__p { margin: 12px 0 2px; font-size: 32px; font-weight: 700; line-height: 1.1; }
.hp-plan__p small { margin-left: 4px; color: var(--hp-ink-3); font-size: 15.5px; font-weight: 400; }
.hp-plan ul {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hp-line-soft);
  font-size: 15px;
}
.hp-plan li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; align-items: baseline; }
.hp-plan li em { color: var(--hp-brand); font-size: 15px; font-style: normal; text-align: center; }
.hp-plan__off { color: var(--hp-ink-3); }
.hp-plan__off em { color: var(--hp-ink-3) !important; }
.hp-plan__fine { margin-top: 9px; color: var(--hp-ink-3); font-size: 15.5px; text-align: center; }

.hp-price-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--hp-line);
  background: var(--hp-white);
  font-size: 15px;
  color: var(--hp-ink-2);
}
.hp-price-note b { color: var(--hp-ink); }
.hp-price-note ul { display: grid; gap: 5px; margin: 9px 0; padding-left: 16px; list-style: disc; }
.hp-price-note a { color: var(--hp-brand); text-decoration: none; border-bottom: 1px solid var(--hp-brand-line); }

/* ---------- 導入 ---------- */

.hp-start { display: grid; gap: 0; border-top: 1px solid var(--hp-line); }
.hp-st { padding: 17px 0; border-bottom: 1px solid var(--hp-line-soft); }
.hp-st__n { display: block; margin-bottom: 5px; color: var(--hp-brand); font-size: 15.5px; font-weight: 700; letter-spacing: .08em; }
.hp-st h3 { font-size: 16.5px; }
.hp-st p { margin-top: 4px; color: var(--hp-ink-2); font-size: 15px; line-height: 1.75; }

.hp-prepare {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 15px 16px;
  border: 1px solid var(--hp-line);
  background: #fbfbf8;
  font-size: 15px;
}
.hp-prepare b { font-size: 15.5px; }
.hp-prepare span { position: relative; padding-left: 14px; color: var(--hp-ink-2); }
.hp-prepare span::before { position: absolute; left: 0; top: 0; color: var(--hp-brand); content: "·"; }

/* ---------- 情境 ---------- */

.hp-scenes { display: grid; gap: 0; border-top: 1px solid var(--hp-line); }
.hp-scene { padding: 18px 0; border-bottom: 1px solid var(--hp-line-soft); }
.hp-scene__tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 7px;
  border: 1px solid var(--hp-line);
  color: var(--hp-ink-3);
  font-size: 15px;
}
.hp-scene h3 { font-size: 16.5px; }
.hp-scene p { margin-top: 7px; color: var(--hp-ink-2); font-size: 15px; line-height: 1.8; }
.hp-scene__fit { color: var(--hp-ink) !important; font-size: 15.5px !important; }

/* ---------- FAQ ---------- */

.hp-faq { margin-top: 16px; border-top: 1px solid var(--hp-line); }
.hp-q { border-bottom: 1px solid var(--hp-line-soft); }
.hp-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 2px;
  font-size: 16.5px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.hp-q summary::-webkit-details-marker { display: none; }
.hp-q summary:hover { color: var(--hp-deep); }
.hp-q__ic {
  position: relative;
  flex: 0 0 16px;
  width: 16px; height: 16px;
}
.hp-q__ic::before, .hp-q__ic::after {
  position: absolute;
  background: var(--hp-ink-2);
  content: "";
}
.hp-q__ic::before { top: 7px; left: 0; right: 0; height: 2px; }
.hp-q__ic::after { top: 0; bottom: 0; left: 7px; width: 2px; transition: transform .2s, opacity .2s; }
.hp-q[open] .hp-q__ic::after { transform: scaleY(0); opacity: 0; }
.hp-q__a {
  max-width: 46em;
  padding: 0 2px 17px;
  color: var(--hp-ink-2);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- 客戶服務 ---------- */

.hp-service { padding: 26px 0; background: var(--hp-soft); border-top: 1px solid var(--hp-line); }
.hp-service__inner { display: grid; gap: 14px; }
body.hp .hp-service h2 { font-size: 22px; }
.hp-service p { margin-top: 4px; color: var(--hp-ink-2); font-size: 15px; }
.hp-service__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 收尾 ---------- */

.hp-final { padding: 44px 0; background: var(--hp-deep); color: #f6f0ea; }
.hp-final__grid { display: grid; gap: 24px; }
body.hp .hp-final h2 { color: #fff; font-size: clamp(21px, 5vw, 30px); max-width: 20em; }
.hp-final p { max-width: 34em; margin-top: 10px; color: #ede4dd; font-size: 15.5px; line-height: 1.8; }
.hp-final__list { display: grid; gap: 5px; margin-top: 12px; }
.hp-final__list li { position: relative; padding-left: 14px; color: #ede4dd; font-size: 15px; }
.hp-final__list li::before { position: absolute; left: 0; color: #7fb3a8; content: "·"; }
.hp-final__actions { display: grid; gap: 10px; align-content: start; }
body.hp .hp-final .hp-btn--primary { background: #fff; border-color: #fff; color: var(--hp-deep); }
body.hp .hp-final .hp-btn--primary:hover { background: #f6f0ea; }
body.hp .hp-final .hp-btn--ghost { border-color: rgba(255,255,255,.38); color: #f6f0ea; }
.hp-final .hp-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.hp-final__tel {
  display: block;
  padding-top: 4px;
  color: #ede4dd;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}
.hp-final__tel b { color: #fff; letter-spacing: .03em; }
.hp-final__tel span { display: block; color: #e6d8cc; font-size: 15.5px; }
.hp-final__mail {
  margin-top: 4px;
  color: #e6d8cc;
  font-size: 15.5px;
  text-align: center;
}
body.hp .hp-final__mail a { color: #f7eee7; text-decoration: underline; text-underline-offset: 2px; }
.hp-final__privacy {
  max-width: 30em;
  margin-top: 2px;
  color: #e6d8cc;
  font-size: 15.5px;
  line-height: 1.7;
}
body.hp .hp-final__privacy a { color: #f7eee7; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */

.hp-footer { padding: 34px 0 84px; background: var(--hp-footer-bg); color: #93a0a8; font-size: 15px; }
.hp-footer__grid { display: grid; gap: 26px; }
.hp-footer .hp-logo__name { color: #f0f2ef; }
.hp-footer .hp-logo__mark { background: #1a5a50; color: #f3f2ec; }
.hp-footer__brand p { max-width: 28em; margin-top: 10px; font-size: 15.5px; line-height: 1.8; }
.hp-footer__contact { color: #aab6bf; }
.hp-footer__contact a { color: #c3cdd5; text-decoration: none; }
.hp-footer__contact a:hover { color: #fff; }
body.hp .hp-footer__col h2 {
  margin: 0 0 9px;
  color: #8e9aa4;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: .08em;
}
.hp-footer__col a {
  display: block;
  padding: 3px 0;
  color: #c3cdd5;
  font-size: 15.5px;
  text-decoration: none;
}
.hp-footer__col a:hover { color: #fff; }
.hp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid #202b2d;
  color: #8995a0;
  font-size: 15.5px;
}

/* ---------- 手機底部 ---------- */

.hp-mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(247,247,243,.97);
  border-top: 1px solid var(--hp-line);
}
.hp-mbar .hp-btn { flex: 1; }
.hp-mbar .hp-btn--ghost { flex: 0 0 40%; }

/* ---------- 桌面 ---------- */

@media (max-width: 639.98px) {
  .hp-table th, .hp-table td { padding: 9px 6px; }
}

@media (min-width: 640px) {
  .hp-audience { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--hp-line-soft); }
  .hp-aud { padding: 20px 22px 20px 0; border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-aud:nth-child(2) { padding-left: 22px; }
  .hp-aud:last-child { padding-left: 22px; border-right: 0; padding-right: 0; }

  .hp-scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--hp-line-soft); }
  .hp-scene { padding: 20px 22px 20px 0; border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-scene:nth-child(2) { padding-left: 22px; }
  .hp-scene:last-child { padding-left: 22px; padding-right: 0; border-right: 0; }
}

@media (min-width: 860px) {
  :root { --hp-pad: 32px; }

  .hp-sec { padding: 74px 0; }
  .hp-ribbon__time { display: block; margin-left: auto; }
  .hp-header__inner { min-height: 70px; }
  .hp-nav {
    display: flex;
    gap: 24px;
    margin-left: 8px;
    font-size: 15px;
  }
  .hp-nav a {
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    color: var(--hp-ink-2);
    text-decoration: none;
  }
  .hp-nav a:hover { color: var(--hp-ink); border-bottom-color: var(--hp-brand); }
  .hp-header__login { display: inline-block; }
  .hp-burger, .hp-mobile-nav { display: none !important; }

  .hp-hero { padding-top: 56px; }
  .hp-hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 46px; align-items: start; }
  .hp-hero__visual { padding-top: 4px; }

  .hp-facts .hp-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-fact { padding: 20px 20px 20px 20px; border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-fact:first-child { padding-left: 0; }
  .hp-fact:nth-child(2n) { padding-left: 20px; border-right: 1px solid var(--hp-line-soft); }
  .hp-fact:last-child { border-right: 0; padding-right: 0; }

  .hp-cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
  .hp-cmp-b { border-top: 0; border-left: 1px solid var(--hp-line-soft); }

  .hp-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-step { padding: 22px 24px 22px 0; border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-step:nth-child(3n) { padding-right: 0; border-right: 0; }
  .hp-step:nth-child(n+4) { padding-top: 24px; border-top: 1px solid var(--hp-line-soft); }
  .hp-step:nth-child(3n+2), .hp-step:nth-child(3n+3) { padding-left: 24px; }

  .hp-ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-ccard { padding: 0 24px 0 0; border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-ccard + .hp-ccard { padding-left: 24px; }
  .hp-ccard:last-child { padding-right: 0; border-right: 0; }

  .hp-table { font-size: 15px; }
  .hp-table th, .hp-table td { padding: 10px 11px; }

  .hp-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-kpi { border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-kpi:nth-child(2n) { border-right: 1px solid var(--hp-line-soft); }
  .hp-kpi:last-child { border-right: 0; }

  .hp-plans { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hp-plan { padding: 24px 26px; }

  .hp-start { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hp-st { padding: 20px 18px 20px 0; border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-st + .hp-st { padding-left: 18px; }
  .hp-st:last-child { padding-right: 0; border-right: 0; }

  .hp-service__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }

  .hp-final { padding: 58px 0; }
  .hp-final__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
  .hp-final__actions { justify-items: stretch; }

  .hp-footer { padding-bottom: 40px; }
  .hp-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .hp-mbar { display: none; }
}

@media (min-width: 1024px) {
  .hp-nav { gap: 28px; font-size: 15.5px; }
  .hp-q summary { font-size: 16.5px; padding: 18px 2px; }
}

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

@media print {
  .hp-header, .hp-ribbon, .hp-mbar, .hp-final__actions, .hp-service__links { display: none !important; }
  body.hp { background: #fff; }
}

/* ---------- 連結色彩（避開 body.hp a 的繼承） ---------- */
body.hp .hp-ribbon a { color: #fff; }
body.hp .hp-header__login { color: var(--hp-ink-2); }
body.hp .hp-header__login:hover { color: var(--hp-ink); }
body.hp .hp-hero__login a { color: var(--hp-brand); }
body.hp .hp-aud a { color: var(--hp-brand); }
body.hp .hp-price-note a { color: var(--hp-brand); }
body.hp .hp-footer__contact a,
body.hp .hp-footer__col a { color: #c3cdd5; }
body.hp .hp-footer__contact a:hover,
body.hp .hp-footer__col a:hover { color: #fff; }
body.hp .hp-final__tel { color: #ede4dd; }
body.hp .hp-skip { color: #fff; }
body.hp .hp-footer__bottom a { color: #aab6bf; text-decoration: underline; text-underline-offset: 2px; }
body.hp .hp-footer__bottom a:hover { color: #fff; }

/* ---------- 風格預覽（只在 ts. 預覽站可切換；預設為橘黃） ---------- */
body.hp-theme-navy {
  --hp-ink: #0f1a24;
  --hp-ink-2: #41505c;
  --hp-ink-3: #5c6b78;
  --hp-brand: #16405f;
  --hp-deep: #0b2a42;
  --hp-cta: #16405f;
  --hp-cta-hover: #0b2a42;
  --hp-cta-ink: #fff;
  --hp-soft: #e7edf3;
  --hp-paper: #f6f8fa;
  --hp-line: #d5dde5;
  --hp-line-soft: #e6ebf0;
  --hp-warn: #a8532c;
  --hp-ok: #2f6b52;
  --hp-hero-top: #edf2f7;
  --hp-footer-bg: #0b141b;
  --hp-brand-line: rgba(22, 64, 95, .24);
  --hp-brand-line-2: #b7c8d6;
}

body.hp-theme-green {
  --hp-ink: #0f1518;
  --hp-ink-2: #4a555c;
  --hp-ink-3: #657077;
  --hp-brand: #12534a;
  --hp-deep: #0a3730;
  --hp-cta: #12534a;
  --hp-cta-hover: #0a3730;
  --hp-cta-ink: #fff;
  --hp-soft: #e6edea;
  --hp-paper: #f7f7f3;
  --hp-line: #d8dad2;
  --hp-line-soft: #e7e8e2;
  --hp-warn: #b4471f;
  --hp-ok: #2c6a4e;
  --hp-hero-top: #f2f3ee;
  --hp-footer-bg: #0c1315;
  --hp-brand-line: rgba(18, 83, 74, .22);
  --hp-brand-line-2: #b9cfc8;
}

body.hp-theme-graphite {
  --hp-ink: #14171a;
  --hp-ink-2: #4a4f55;
  --hp-ink-3: #66707a;
  --hp-brand: #3a3632;
  --hp-deep: #221f1c;
  --hp-cta: #3a3632;
  --hp-cta-hover: #221f1c;
  --hp-cta-ink: #fff;
  --hp-soft: #ece9e2;
  --hp-paper: #f8f6f1;
  --hp-line: #d9d4ca;
  --hp-line-soft: #e9e5dd;
  --hp-warn: #a45a2a;
  --hp-ok: #3f6b52;
  --hp-hero-top: #f2efe8;
  --hp-footer-bg: #111315;
  --hp-brand-line: rgba(58, 54, 50, .26);
  --hp-brand-line-2: #cdc4b6;
}

/* ---------- 法務／說明頁 ---------- */
.hp-legal-page { background: var(--hp-paper); }
.hp-legal { padding: 44px 0 64px; }
.hp-legal .hp-wrap { max-width: 880px; }
.hp-legal__back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--hp-ink-3);
  font-size: 15.5px;
  text-decoration: none;
}
body.hp .hp-legal__back:hover { color: var(--hp-brand); }
body.hp .hp-legal h1 { font-size: clamp(28px, 5.4vw, 38px); }
.hp-legal__meta { margin-top: 8px; color: var(--hp-ink-3); font-size: 15px; }
.hp-legal__note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--hp-brand);
  background: var(--hp-soft);
  color: var(--hp-ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.hp-legal__note strong { color: var(--hp-ink); }
body.hp .hp-legal h2 {
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--hp-line);
  font-size: 21px;
}
body.hp .hp-legal h3 { margin-top: 20px; font-size: 17.5px; }
.hp-legal p { margin-top: 10px; color: var(--hp-ink-2); font-size: 16.5px; line-height: 1.9; }
body.hp .hp-legal ul { margin: 10px 0 0; padding-left: 1.4em; list-style: disc; }
.hp-legal li { margin-top: 5px; color: var(--hp-ink-2); font-size: 16.5px; line-height: 1.85; }
body.hp .hp-legal a { color: var(--hp-brand); text-decoration: underline; text-underline-offset: 2px; }
.hp-legal strong { color: var(--hp-ink); font-weight: 700; }
.hp-legal__back-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--hp-line);
}
body.hp .hp-legal__back-bottom a { font-size: 15.5px; text-decoration: none; }

/* ---------- 登入頁（表格化置中） ---------- */
.hp-shop-page { background: var(--hp-paper); }
.hp-shop { padding: 56px 0 72px; }
.hp-auth { max-width: 560px; margin: 0 auto; }
.hp-auth__head { margin-bottom: 24px; text-align: center; }
body.hp .hp-auth__head h1 { font-size: clamp(28px, 5.4vw, 38px); }
.hp-auth__head p {
  max-width: 32em;
  margin: 10px auto 0;
  color: var(--hp-ink-2);
  font-size: 16.5px;
  line-height: 1.8;
}
.hp-auth__card {
  padding: 28px 26px;
  border: 1px solid var(--hp-line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 30, 28, .06);
}
body.hp .hp-auth__card h2 { font-size: 24px; }
.hp-auth__sub { margin-top: 6px; color: var(--hp-ink-3); font-size: 15.5px; }
.hp-form-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hp-form-table th {
  width: 84px;
  padding: 9px 12px 9px 0;
  color: var(--hp-ink);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}
.hp-form-table td { padding: 9px 0; }
.hp-input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--hp-line);
  border-radius: 2px;
  background: #fff;
  color: var(--hp-ink);
  font-family: inherit;
  font-size: 16.5px;
  line-height: 1.6;
}
.hp-input:focus {
  border-color: var(--hp-brand);
  outline: 2px solid var(--hp-brand);
  outline-offset: 1px;
}
.hp-form-table .error_list {
  margin: 6px 0 0;
  padding-left: 1.1em;
  color: #b91c1c;
  font-size: 15px;
  list-style: disc;
}
.hp-login__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 10px 0 18px;
  color: var(--hp-ink-3);
  font-size: 15px;
}
body.hp .hp-login__meta a {
  color: var(--hp-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-auth__alt {
  margin-top: 18px;
  color: var(--hp-ink-3);
  font-size: 15.5px;
  text-align: center;
}
body.hp .hp-auth__alt a { color: var(--hp-brand); text-decoration: underline; }
.hp-forget {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hp-line);
}
body.hp .hp-forget h2 { font-size: 20px; }
.hp-forget__sub { margin-top: 4px; color: var(--hp-ink-3); font-size: 15px; }
.hp-form--single { grid-template-columns: 1fr; margin-top: 14px; }
.hp-captcha { display: flex; align-items: center; gap: 10px; }
.hp-captcha img { height: 44px; border: 1px solid var(--hp-line); }
.hp-signedin { padding: 8px 0 2px; }
.hp-signedin__label { color: var(--hp-ink-3); font-size: 15px; }
.hp-signedin__name { margin-top: 2px; color: var(--hp-ink); font-size: 22px; font-weight: 700; }
.hp-signedin__sub { margin-top: 2px; color: var(--hp-ink-3); font-size: 15px; }
.hp-signedin__actions { display: flex; gap: 10px; margin-top: 18px; }

/* ---------- 費用頁（表格化置中） ---------- */
.hp-price-page { background: var(--hp-paper); }
.hp-price-hero { padding: 56px 0 12px; text-align: center; }
body.hp .hp-price-hero h1 { font-size: clamp(30px, 5.6vw, 44px); }
.hp-price-hero p {
  max-width: 38em;
  margin: 12px auto 0;
  color: var(--hp-ink-2);
  font-size: 16.5px;
  line-height: 1.85;
}
.hp-price-plans { padding: 26px 0 12px; }
.hp-price-plans .hp-plans { max-width: 920px; margin: 0 auto; }
.hp-price-plans .hp-plan { display: flex; flex-direction: column; height: 100%; }
.hp-price-plans .hp-plan .hp-btn { margin-top: auto; }
.hp-price-compare {
  padding: 48px 0;
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
  background: #fff;
}
.hp-price-compare .hp-wrap { max-width: 960px; }
.hp-price-compare__head { margin-bottom: 22px; text-align: center; }
body.hp .hp-price-compare__head h2 { font-size: 28px; }
.hp-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hp-line);
  background: #fff;
}
.hp-compare-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hp-compare-table th, .hp-compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--hp-line-soft);
  text-align: center;
  vertical-align: middle;
}
.hp-compare-table thead th {
  background: #fcfcfa;
  color: var(--hp-ink-3);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
}
.hp-compare-table tbody th { text-align: left; font-weight: 600; }
.hp-compare-table tbody tr:last-child th,
.hp-compare-table tbody tr:last-child td { border-bottom: 0; }
.hp-compare-table .is-featured { background: var(--hp-soft); }
.hp-yes { color: var(--hp-ok); font-weight: 700; }
.hp-no { color: var(--hp-ink-3); }
.hp-price-note {
  max-width: 960px;
  margin: 14px auto 0;
  color: var(--hp-ink-3);
  font-size: 15px;
  line-height: 1.8;
}
.hp-price-support { padding: 52px 0; }
.hp-price-support__grid { max-width: 960px; display: grid; gap: 28px; }
body.hp .hp-price-support h2 { font-size: 28px; }
.hp-service-list { margin-top: 16px; counter-reset: hp-service; }
.hp-service-list li {
  counter-increment: hp-service;
  position: relative;
  padding: 9px 0 9px 34px;
  border-bottom: 1px solid var(--hp-line-soft);
  color: var(--hp-ink-2);
  font-size: 16px;
}
.hp-service-list li::before {
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--hp-brand);
  font-weight: 700;
  content: counter(hp-service, decimal-leading-zero);
}
.hp-contact-card {
  padding: 20px 22px;
  border: 1px solid var(--hp-line);
  background: #fff;
}
body.hp .hp-contact-card h3 { font-size: 18px; }
.hp-contact-card dl { display: grid; gap: 10px; margin-top: 14px; }
.hp-contact-card dl > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
.hp-contact-card dt { color: var(--hp-ink-3); font-size: 15px; }
.hp-contact-card dd { margin: 0; color: var(--hp-ink); font-size: 15.5px; }
body.hp .hp-contact-card a { color: var(--hp-brand); text-decoration: underline; text-underline-offset: 2px; }
.hp-price-page .hp-final { margin-top: 0; }

@media (min-width: 760px) {
  .hp-price-support__grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
}

@media (max-width: 560px) {
  .hp-form-table th, .hp-form-table td { display: block; width: 100%; padding: 0; }
  .hp-form-table th { padding-top: 10px; padding-bottom: 4px; }
  .hp-form-table td { padding-bottom: 6px; }
  .hp-auth__card { padding: 22px 18px; }
  .hp-login__meta { font-size: 14.5px; }
  .hp-compare-table th, .hp-compare-table td { padding: 11px 8px; font-size: 14.5px; }
}

/* ---------- 預約導入諮詢 ---------- */
.hp-form-page { background: var(--hp-paper); }
.hp-form-page__main { padding: 44px 0 64px; }
.hp-form-page__main .hp-wrap { max-width: 860px; }
body.hp .hp-form-page h1 { font-size: clamp(28px, 5.4vw, 38px); }
.hp-form__lede {
  max-width: 40em;
  margin-top: 10px;
  color: var(--hp-ink-2);
  font-size: 16.5px;
  line-height: 1.85;
}
.hp-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.hp-field { display: grid; gap: 6px; align-content: start; }
.hp-field--full { grid-column: 1 / -1; }
.hp-field label { color: var(--hp-ink); font-size: 15.5px; font-weight: 600; }
.hp-req { color: var(--hp-brand); }
.hp-field input[type="text"],
.hp-field input[type="email"],
.hp-field input[type="tel"],
.hp-field select,
.hp-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--hp-line);
  border-radius: 2px;
  background: #fff;
  color: var(--hp-ink);
  font-family: inherit;
  font-size: 16.5px;
  line-height: 1.6;
}
.hp-field textarea { min-height: 160px; resize: vertical; }
.hp-field input:focus,
.hp-field select:focus,
.hp-field textarea:focus {
  border-color: var(--hp-brand);
  outline: 2px solid var(--hp-brand);
  outline-offset: 1px;
}
.hp-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  line-height: 1.7;
  color: var(--hp-ink-2) !important;
}
.hp-consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--hp-brand); }
body.hp .hp-consent a { color: var(--hp-brand); text-decoration: underline; }
.hp-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hp-form__errors {
  margin-top: 20px;
  padding: 13px 15px;
  border-left: 3px solid #b91c1c;
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 15.5px;
  line-height: 1.7;
}
.hp-form__errors b { display: block; margin-bottom: 4px; }
body.hp .hp-form__errors ul { margin: 4px 0 0; padding-left: 1.3em; list-style: disc; }
body.hp .hp-form__errors li { font-size: 15.5px; color: #7f1d1d; }
.hp-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.hp-form__note { max-width: 34em; color: var(--hp-ink-3); font-size: 15px; line-height: 1.7; }
body.hp .hp-form__note a { color: var(--hp-brand); }
.hp-done { padding: 10px 0 4px; }
body.hp .hp-done h1 { font-size: clamp(28px, 5.4vw, 38px); }
.hp-done p { max-width: 38em; margin-top: 12px; color: var(--hp-ink-2); font-size: 16.5px; line-height: 1.85; }
body.hp .hp-done p a { color: var(--hp-brand); text-decoration: underline; }
.hp-done__case {
  display: inline-block;
  margin: 18px 0 4px;
  padding: 10px 14px;
  border-left: 3px solid var(--hp-brand);
  background: var(--hp-soft);
  color: var(--hp-ink) !important;
  font-size: 17px !important;
}
.hp-done__note { color: var(--hp-ink-3) !important; font-size: 15px !important; }
.hp-done .hp-btn { margin-top: 22px; }

@media (min-width: 700px) {
  .hp-form { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
}
