/* Insightfor 到達頁。沿用產品本身的色彩與字體設定，版面自成一份、不依賴後台樣式。 */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2b2724;
  --muted: #6f665f;
  --line: #e7dfd5;
  --brand: #b4532a;
  --brand-deep: #8f3f1e;
  --brand-tint: #f6e9e1;
  --ok: #2f6b4f;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--brand);
  background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn.large { padding: 13px 28px; font-size: 17px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink); font-weight: 500; }
.btn.ghost:hover { color: var(--brand-deep); background: transparent; }
.btn.line { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 500; }
.btn.line:hover { border-color: var(--brand); background: var(--surface); }
.btn.invert { background: #fff; border-color: #fff; color: var(--brand-deep); }
.btn.invert:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.btn.outline { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; font-weight: 500; }
.btn.outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- 導覽 ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: 0.01em; color: var(--brand-deep); }
.logo.small { font-size: 16px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }

/* ---------- 主視覺 ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 14px; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.18; letter-spacing: -0.01em; }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px rgba(43, 39, 36, 0.10); font-size: 14px; line-height: 1.6; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mock-title { font-weight: 700; font-size: 16px; }
.mock-tag { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 10px; }
.mock-summary { font-size: 15px; margin-bottom: 16px; }
.mock-fit { display: flex; gap: 18px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg); margin-bottom: 14px; }
.mock-score { font-size: 44px; font-weight: 800; line-height: 1; color: var(--ok); font-variant-numeric: tabular-nums; }
.mock-score small { font-size: 15px; font-weight: 400; color: var(--muted); }
.mock-fit-body { flex: 1; }
.mock-fit-label { font-weight: 600; color: var(--ok); }
.mock-track { height: 8px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 6px 0; }
.mock-track i { display: block; height: 100%; background: var(--ok); border-radius: 6px; }
.mock-fit-note { font-size: 12px; color: var(--muted); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mock-box.key { border-color: var(--brand); background: var(--brand-tint); }
.mock-box h3 { font-size: 13px; margin-bottom: 4px; }
.mock-box ul { padding-left: 16px; list-style: disc; font-size: 13px; }

/* ---------- 區塊 ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.28; letter-spacing: -0.005em; }
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 40em; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.step-tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.panel h3 { font-size: 24px; }
.panel-lead { margin-top: 10px; color: var(--muted); }
.checks { margin-top: 20px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-tint); border: 4px solid var(--brand); }
.checks strong { display: block; color: var(--ink); }
.outcome { margin-top: auto; padding-top: 22px; }
.outcome::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature.wide { grid-column: span 3; display: grid; grid-template-columns: 220px 1fr; column-gap: 24px; align-items: start; }
.feature.wide .feature-kicker { grid-column: 1; }
.feature.wide h3 { grid-column: 1; }
.feature.wide p { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 17px; }
.feature.span2 { grid-column: span 2; }
.feature-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 6px; }
.feature h3 { font-size: 20px; line-height: 1.4; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; counter-reset: none; }
.flow li { position: relative; padding: 0 20px 0 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 48px; right: 8px; height: 2px; background: var(--line); }
.flow-n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.flow h3 { margin-top: 16px; font-size: 19px; }
.flow p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.trio article { border-top: 3px solid var(--brand); padding-top: 18px; }
.trio h3 { font-size: 20px; }
.trio p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.cta { background: var(--brand-deep); color: #fff; padding: 80px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta p { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, 0.82); }
.cta .hero-actions { justify-content: center; }
.cta .btn:focus-visible { outline-color: #fff; }

.footer { padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* ---------- 窄螢幕 ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .duo { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; display: block; }
  .feature.span2 { grid-column: auto; }
  .feature.last { grid-column: span 2; }
  .feature.wide p { margin-top: 10px; font-size: 16px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow li { padding: 0 0 0 58px; min-height: 40px; }
  .flow li:not(:last-child)::after { top: 44px; bottom: -20px; left: 19px; right: auto; width: 2px; height: auto; }
  .flow-n { position: absolute; left: 0; top: 0; }
  .flow h3 { margin-top: 4px; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-inner { gap: 8px; }
  .nav-actions .btn { padding: 8px 14px; }
  .features { grid-template-columns: 1fr; }
  .feature.wide, .feature.last { grid-column: auto; }
  .mock { padding: 18px; }
  .mock-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .hero-actions .btn.large { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
