:root {
  --ink: #1e2421;
  --quiet: #5c6560;
  --faint: #a3aba6;
  --accent: #2f5d50;
  --accent-dark: #234538;
  --accent-tint: #e6f0eb;
  --line: #e1e5e2;
  --bg-soft: #f4f8f6;
  --seal: #b23a2e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.seal { width: 32px; height: 32px; border: 2px solid var(--seal); color: var(--seal); border-radius: 6px; display: grid; place-items: center; font-size: 18px; font-weight: 700; line-height: 1; }
.brand small { color: var(--quiet); font-weight: 500; font-size: 15px; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--quiet); text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* hero */
.hero { padding: 72px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 38px; line-height: 1.35; margin: 0 0 16px; letter-spacing: 0.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--quiet); max-width: 640px; margin: 0 0 28px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 16px; border: 1px solid var(--accent); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { color: var(--accent); background: #fff; }
.btn.disabled { background: #fff; color: var(--faint); border-color: var(--line); cursor: default; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--quiet); }

/* sections */
section.block { padding: 64px 0; border-bottom: 1px solid var(--line); }
section.block h2 { font-size: 26px; margin: 0 0 8px; }
section.block p.sub { color: var(--quiet); margin: 0 0 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--quiet); font-size: 15px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; border-top: 3px solid var(--accent); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font-weight: 700; color: var(--accent); font-size: 22px; }
.steps li b { display: block; margin: 2px 0 4px; }
.steps li span { color: var(--quiet); font-size: 15px; }

/* pricing */
.price-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-card { border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.price-card.main { border: 2px solid var(--accent); }
.price-card .label { font-size: 14px; color: var(--quiet); }
.price-card .amount { font-size: 40px; font-weight: 700; color: var(--accent); margin: 4px 0; }
.price-card .amount small { font-size: 16px; color: var(--quiet); font-weight: 500; }
.price-card ul { padding-left: 1.2em; margin: 12px 0 0; color: var(--ink); }
.example { margin-top: 20px; background: var(--accent-tint); border-radius: 10px; padding: 16px 20px; font-size: 15px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--quiet); margin: 8px 0 0; }

/* legal pages */
.doc { max-width: 760px; padding: 48px 24px 72px; margin: 0 auto; }
.doc h1 { font-size: 30px; margin: 0 0 4px; }
.doc .updated { color: var(--quiet); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin: 4px 0; }

/* footer */
.site-footer { background: var(--bg-soft); padding: 32px 0; font-size: 14px; color: var(--quiet); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--quiet); margin-right: 16px; }
.site-footer p { margin: 2px 0; }

@media (max-width: 760px) {
  .nav { display: none; }
  .hero h1 { font-size: 28px; }
  .grid3, .price-box { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
