/* BightRoute：石墨黑＋翡翠綠，路線與節點為視覺母題 */
:root {
  --bg: #ffffff; --soft: #f5f7f6; --line: #e3e8e5; --text: #12161c; --muted: #58625d;
  --accent: #187a5b; --accent-2: #125e46; --accent-bg: #e6f3ec; --on-accent: #ffffff;
  --mint: #3dc497; --warn: #a8510c; --warn-bg: #fdf1e4; --bad: #b3372b; --bad-bg: #fbeceb;
  --ink: #0e1217; --ink-2: #161c23; --ink-line: #26302c; --ink-text: #e9eeeb; --ink-muted: #9aa8a1;
  --radius: 14px; --shadow: 0 1px 2px rgba(14, 18, 23, .04), 0 12px 32px rgba(14, 18, 23, .08);
  --f-head: 'Manrope', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --f-body: 'Inter', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', -apple-system, 'Segoe UI', sans-serif;
  --f-num: 'Space Grotesk', 'Inter', 'Noto Sans TC', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1217; --soft: #13181e; --line: #242c29; --text: #e9eeeb; --muted: #9aa8a1;
    --accent: #3dc497; --accent-2: #7ad9b5; --accent-bg: #12291f; --on-accent: #06261a;
    --warn: #f0a55c; --warn-bg: #2b2014; --bad: #ff8a7a; --bad-bg: #2d1715;
    --ink: #0a0d11; --ink-2: #12171d; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1217; --soft: #13181e; --line: #242c29; --text: #e9eeeb; --muted: #9aa8a1;
  --accent: #3dc497; --accent-2: #7ad9b5; --accent-bg: #12291f; --on-accent: #06261a;
  --warn: #f0a55c; --warn-bg: #2b2014; --bad: #ff8a7a; --bad-bg: #2d1715;
  --ink: #0a0d11; --ink-2: #12171d; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3, h4, h5 { font-family: var(--f-head); text-wrap: balance; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; margin: 0 auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 15px; font-family: var(--f-body); transition: background .15s, border-color .15s, color .15s; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* 頁首 */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; color: var(--text); text-decoration: none; white-space: nowrap; font-size: 19px; letter-spacing: -.3px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.brand .r { font-weight: 500; color: var(--accent); }
header nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
header nav a.l { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
header nav a.l:hover { color: var(--text); }
@media (max-width: 760px) { header nav a.l { display: none; } }

/* 首屏：深色金融感 */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--ink-text); padding: 72px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(233, 238, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 238, 235, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(61, 196, 151, .18), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(61, 196, 151, .18); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; margin: 0 0 20px; letter-spacing: -.03em; font-weight: 800; color: #f3f6f4; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .motto { font-size: 17px; font-weight: 600; color: #f3f6f4; margin: 0 0 10px; }
.hero .sub { font-size: 16px; color: var(--ink-muted); margin: 0 0 30px; max-width: 540px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.primary { background: var(--mint); color: #06261a; }
.hero .btn.primary:hover { background: #64d6ad; }
.hero .btn.ghost { color: var(--ink-text); border-color: var(--ink-line); }
.hero .btn.ghost:hover { border-color: var(--mint); color: var(--mint); }
.trust { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 24px; color: var(--ink-muted); font-size: 13px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { flex: none; }

/* 首屏右側：報告卡 */
.preview { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--ink-line); border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); min-width: 0; }
.preview .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.preview .ph b { font-family: var(--f-head); font-size: 14px; color: #f3f6f4; }
.preview .ph small { font-size: 11px; color: var(--ink-muted); border: 1px solid var(--ink-line); border-radius: 999px; padding: 2px 8px; }
.route-map { position: relative; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--ink-line); padding: 14px; }
.route-map svg { display: block; width: 100%; height: auto; }
.route-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-muted); margin-top: 10px; }
.route-legend span { display: inline-flex; align-items: center; gap: 6px; }
.route-legend i { width: 18px; height: 0; border-top: 2px dashed #8c9a93; display: inline-block; }
.route-legend i.ok { border-top: 3px solid var(--mint); }
.pkpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pkpi { border: 1px solid var(--ink-line); border-radius: 10px; padding: 10px 12px; }
.pkpi .l { font-size: 11px; color: var(--ink-muted); }
.pkpi .v { font-family: var(--f-num); font-size: 18px; font-weight: 600; color: #f3f6f4; white-space: nowrap; }
.pkpi .v.good { color: var(--mint); }
@media (max-width: 480px) { .pkpis { grid-template-columns: minmax(0, 1fr); } }

/* 數據帶 */
.stats { border-bottom: 1px solid var(--line); background: var(--bg); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .v { font-family: var(--f-num); font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 820px) { .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { border-top: 1px solid var(--line); } .stat:nth-child(-n+2) { border-top: 0; } }
.compares { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 22px 0; font-size: 13px; color: var(--muted); }
.compares b { font-family: var(--f-head); font-size: 15px; color: var(--text); opacity: .72; letter-spacing: -.01em; }
.compares .lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

section { padding: 88px 0; }
section.alt { background: var(--soft); }
.kicker { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.22; margin: 8px 0 14px; letter-spacing: -.025em; font-weight: 800; }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 0 40px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.leak { display: flex; flex-direction: column; }
.leak .pct { font-family: var(--f-num); font-size: 13px; font-weight: 600; color: var(--bad); margin-top: auto; padding-top: 16px; }

/* 步驟 */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.steps3 > div { padding: 28px; border-left: 1px solid var(--line); }
.steps3 > div:first-child { border-left: 0; }
.steps3 .n { font-family: var(--f-num); font-size: 13px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.steps3 .n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.steps3 h3 { margin: 0 0 6px; font-size: 18px; }
.steps3 p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps3 { grid-template-columns: minmax(0, 1fr); } .steps3 > div { border-left: 0; border-top: 1px solid var(--line); } .steps3 > div:first-child { border-top: 0; } }

/* 健檢表單 */
.checker { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.steps-bar { display: flex; border-bottom: 1px solid var(--line); background: var(--soft); }
.steps-bar span { flex: 1; text-align: center; padding: 14px 6px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.steps-bar span.on { color: var(--accent); border-bottom-color: var(--accent); }
.step-body { padding: 28px; }
@media (max-width: 520px) { .step-body { padding: 20px; } }
.step { display: none; }
.step.on { display: block; }
.field { margin-bottom: 22px; }
.field > label, .field > .lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field small { color: var(--muted); font-size: 12px; font-weight: 400; }
input[type=number], input[type=email], input[type=text], select, textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; font-family: var(--f-body); background: var(--bg); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.money { position: relative; }
.money span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-family: var(--f-num); font-size: 14px; }
.money input { padding-left: 54px; font-weight: 600; font-family: var(--f-num); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 7px 13px; font-size: 14px; cursor: pointer; background: var(--bg); user-select: none; transition: border-color .15s, background .15s; }
.chips span:hover { border-color: var(--accent); }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.err { display: none; background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-weight: 500; font-size: 14px; }
.loading { display: none; padding: 44px 26px; text-align: center; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--accent-bg); border-top-color: var(--accent); margin: 0 auto 16px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } }

/* 報告 */
.report { text-align: left; }
.report .rhead { background: var(--ink); color: var(--ink-text); border-radius: 18px; padding: 28px; margin-bottom: 16px; }
.report .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ink-line); color: var(--mint); margin-bottom: 12px; }
.report h3.headline { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 8px; line-height: 1.4; color: #f3f6f4; letter-spacing: -.02em; }
.report .summary { color: var(--ink-muted); margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
@media (max-width: 720px) { .kpis { grid-template-columns: minmax(0, 1fr); } }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.kpi .l { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi .v { font-family: var(--f-num); font-size: clamp(22px, 3vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .v.bad { color: var(--bad); }
.kpi .v.good { color: var(--accent); }
.report h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; font-family: var(--f-body); font-weight: 700; }
.finding { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--bg); }
.sev { flex: none; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 6px; height: fit-content; margin-top: 3px; letter-spacing: .04em; }
.sev.high { background: var(--bad-bg); color: var(--bad); }
.sev.medium { background: var(--warn-bg); color: var(--warn); }
.sev.low { background: var(--accent-bg); color: var(--accent); }
.finding b { display: block; }
.finding p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.plans-r { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .plans-r { grid-template-columns: minmax(0, 1fr); } }
.plan-r { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.plan-r.cheapest { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-r .ptype { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan-r h5 { font-size: 18px; margin: 0; letter-spacing: -.01em; }
.plan-r .save { font-family: var(--f-num); font-size: 24px; font-weight: 600; color: var(--accent); letter-spacing: -.03em; }
.plan-r .save small { display: block; font-family: var(--f-body); font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-r dl { margin: 0; font-size: 14px; }
.plan-r dt { font-weight: 600; margin-top: 6px; }
.plan-r dd { margin: 0; color: var(--muted); }
.plan-r .meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.plan-r .meta span { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; color: var(--muted); }
.plan-r ol, .plan-r ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.plan-r .caut { background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--warn); }
.plan-r .caut ul { color: inherit; }
.next { padding-left: 20px; }
.next li { margin-bottom: 6px; }
.rfoot { font-size: 12.5px; color: var(--muted); margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
@media (max-width: 820px) { .after { grid-template-columns: minmax(0, 1fr); } }
.after .card { display: flex; flex-direction: column; gap: 10px; }
.inline-form { display: flex; gap: 8px; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }
.okmsg { color: var(--accent); font-weight: 600; display: none; }

/* 比較表 */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--bg); }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { background: var(--soft); font-size: 13px; font-weight: 600; color: var(--muted); }
.cmp td:first-child { font-weight: 600; }
.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* 方案 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--bg); position: relative; display: flex; flex-direction: column; min-width: 0; }
.plan.hot { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.plan.hot .fit, .plan.hot .ntd, .plan.hot li { color: var(--ink-muted); }
.plan.hot li::before { color: var(--mint); }
.plan.hot .badge-hot { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--mint); border: 1px solid var(--ink-line); border-radius: 999px; padding: 2px 10px; }
.plan.hot .btn.primary { background: var(--mint); color: #06261a; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-family: var(--f-num); font-size: 38px; font-weight: 600; margin: 10px 0 0; letter-spacing: -.04em; }
.plan .price small { font-family: var(--f-body); font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan.hot .price small { color: var(--ink-muted); }
.plan .ntd { font-size: 13px; color: var(--muted); }
.plan .fit { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan ul { padding-left: 0; list-style: none; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; color: var(--muted); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-head); }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

/* 收尾 CTA 與頁尾 */
.final { background: var(--ink); color: var(--ink-text); padding: 72px 0; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -300px; background: radial-gradient(circle, rgba(61, 196, 151, .16), transparent 65%); pointer-events: none; }
.final .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.final h2 { color: #f3f6f4; margin: 0 0 6px; }
.final p { color: var(--ink-muted); margin: 0; }
.final .btn.primary { background: var(--mint); color: #06261a; }
footer { background: var(--ink); border-top: 1px solid var(--ink-line); padding: 32px 0 44px; color: var(--ink-muted); font-size: 13px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--ink-muted); }
footer a:hover { color: var(--ink-text); }
footer .fbrand { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; color: var(--ink-text); margin-bottom: 14px; }
footer .fbrand img { width: 22px; height: 22px; border-radius: 5px; }

.banner { border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-weight: 500; }
.banner.ok { background: var(--accent-bg); color: var(--accent); }
.banner.info { background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.drop { border: 1.5px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; cursor: pointer; background: var(--soft); transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-bg); }
.files { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.files li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.files button { background: none; border: 0; color: var(--bad); cursor: pointer; font-family: inherit; }
.hist { list-style: none; padding: 0; margin: 0; }
.hist li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hist a { cursor: pointer; }

@media print {
  header.top, footer, .final, .no-print { display: none !important; }
  section { padding: 0; }
  .report .rhead, .kpi, .plan-r, .finding { break-inside: avoid; }
}

/* 精簡版報告範例 */
.report.mini { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow); }
.mini-head { background: var(--ink); color: var(--ink-text); padding: 26px 28px; }
.mini-head .headline { margin: 0 0 18px; }
.mini-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-kpis > div { border: 1px solid var(--ink-line); border-radius: 12px; padding: 12px 16px; }
.mini-kpis .l { font-size: 12px; color: var(--ink-muted); }
.mini-kpis .v { font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: #f3f6f4; }
.mini-kpis .v.good { color: var(--mint); }
.mini-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.mini-col { padding: 22px 28px 26px; min-width: 0; }
.mini-col + .mini-col { border-left: 1px solid var(--line); }
.report.mini h4 { margin: 0 0 12px; }
.mini-find, .mini-plans { list-style: none; margin: 0; padding: 0; }
.mini-find li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-find li:first-child { border-top: 0; padding-top: 0; }
.mini-find small, .mini-plans small { display: block; color: var(--muted); font-size: 13px; }
.mini-plans li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-plans li:first-child { border-top: 0; padding-top: 0; }
.mini-plans .pt { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.mini-plans .ps { text-align: right; font-weight: 600; color: var(--accent); white-space: nowrap; }
.mini-plans .ps small { font-family: var(--f-body); font-size: 11px; letter-spacing: 0; }
.mini-plans li.cheapest .pn b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 8px; vertical-align: middle; }
@media (max-width: 820px) { .mini-body { grid-template-columns: minmax(0, 1fr); } .mini-col + .mini-col { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .mini-head, .mini-col { padding-left: 20px; padding-right: 20px; } .mini-plans li { grid-template-columns: minmax(0, 1fr) auto; } .mini-plans .pt { grid-column: 1 / -1; } }

/* 免費健檢：留 Email 解鎖 */
.locked { position: relative; overflow: hidden; padding: 32px 16px; }
.ghost { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.ghost-col { padding: 22px 28px; }
.ghost-col + .ghost-col { border-left: 1px solid var(--line); }
.ghost-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ghost-row i { width: 34px; height: 18px; border-radius: 6px; background: var(--accent-bg); }
.ghost-row span { flex: 1; height: 12px; border-radius: 6px; background: var(--line); }
.ghost-row b { width: 70px; height: 14px; border-radius: 6px; background: var(--accent-bg); }
.unlock { position: relative; margin: 0 auto; width: min(520px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.unlock .lock-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.report.mini .unlock h4.ut { margin: 0; font-size: 18px; letter-spacing: -.01em; text-transform: none; color: var(--text); font-family: var(--f-head); font-weight: 800; }
.unlock p { margin: 0; color: var(--muted); font-size: 14px; }
.unlock .urow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; }
.ucheck { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.ucheck input { margin-top: 3px; accent-color: var(--accent); }
.unlock .btn { width: 100%; }
.unlock .err { margin-top: 0; }
.unlock .ufine { font-size: 12px; }
@media (max-width: 640px) {
  .locked { padding: 0; }
  .ghost { display: none; }
  .unlock { position: static; transform: none; width: auto; margin: 16px; box-shadow: none; }
  .unlock .urow { grid-template-columns: minmax(0, 1fr); }
}
