:root{
  --gold:#b8863a; --gold-dark:#8a6a2f; --gold-soft:#f1e4cd;
  --navy:#1e2a38; --navy-2:#2a3a4d;
  --bg:#f5f4f1; --surface:#fff; --surface-2:#faf9f6; --border:#e6e3db;
  --text:#232620; --body:#4b5563; --muted:#6b6a5f;
  --success:#3f7d4f; --danger:#a5433b; --info:#3b6ea5;
  --sans:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  --serif:"Noto Serif TC","Microsoft JhengHei",serif;
  --shadow:0 1px 2px rgba(30,26,14,.06),0 1px 1px rgba(30,26,14,.04);
  --shadow-lg:0 8px 24px rgba(30,26,14,.10),0 2px 6px rgba(30,26,14,.05);
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:var(--gold-dark);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;gap:28px;height:70px}
.brand{display:flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;flex:none}
.brand:hover{text-decoration:none}
.brand-mark{width:38px;height:38px;border-radius:9px;background:linear-gradient(145deg,var(--gold),var(--gold-dark));display:flex;align-items:center;justify-content:center;flex:none}
.brand-name{font-family:var(--serif);font-size:19px;font-weight:700;line-height:1.2}
.brand-sub{font-size:11.5px;color:var(--muted);line-height:1.2;letter-spacing:.06em}
.nav-links{display:flex;gap:26px;margin-left:auto;font-size:15px}
.nav-links a{color:var(--body)}
.nav-links a:hover,.nav-links a[aria-current]{color:var(--gold-dark);text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-size:15px;font-weight:500;padding:11px 22px;border-radius:8px;border:1px solid transparent;cursor:pointer;transition:.18s}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--gold);color:#fff}
.btn-primary:hover{background:var(--gold-dark);color:#fff}
.btn-ghost{background:transparent;color:#f2efe8;border-color:rgba(242,239,232,.4)}
.btn-ghost:hover{background:rgba(242,239,232,.12);color:#fff}
.btn-outline{background:var(--surface);color:var(--gold-dark);border-color:var(--gold)}
.btn-outline:hover{background:var(--gold-soft)}
.btn-lg{font-size:16px;padding:14px 30px}
.nav .btn{flex:none}
.nav-toggle{display:none;margin-left:auto;background:none;border:1px solid var(--border);border-radius:8px;padding:7px 12px;font-family:inherit;font-size:14px;color:var(--text);cursor:pointer}

/* hero */
.hero{background:var(--navy);color:#f2efe8;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;top:-180px;right:-160px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(184,134,58,.30),transparent 62%)}
.hero .wrap{position:relative;z-index:1;padding-top:92px;padding-bottom:92px;max-width:900px}
.eyebrow{font-size:13px;letter-spacing:.18em;color:var(--gold);font-weight:500;margin:0 0 18px}
.hero h1{font-family:var(--serif);font-size:clamp(30px,4.6vw,46px);line-height:1.35;margin:0 0 20px;font-weight:700}
.hero p.lead{font-size:17.5px;color:#c7cdd6;margin:0 0 34px;max-width:640px;line-height:1.9}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-note{margin-top:26px;font-size:14px;color:#8b96a5}

/* sections */
.section{padding:86px 0}
.section-alt{background:var(--surface)}
.section-head{max-width:720px;margin-bottom:46px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head .eyebrow{color:var(--gold-dark)}
h2{font-family:var(--serif);font-size:clamp(25px,3.2vw,33px);line-height:1.45;margin:0 0 14px;font-weight:700}
.section-head p{color:var(--body);margin:0;font-size:16.5px}
h3{font-family:var(--serif);font-size:19px;margin:0 0 10px;font-weight:600}

.grid{display:grid;gap:22px}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:28px;box-shadow:var(--shadow);transition:.2s}
.section-alt .card{background:var(--surface-2)}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.card p{margin:0;color:var(--body);font-size:15.5px}
.icon{width:42px;height:42px;border-radius:10px;background:var(--gold-soft);color:var(--gold-dark);display:flex;align-items:center;justify-content:center;margin-bottom:16px}

/* pain / gain */
.pain{background:var(--surface-2);border:1px solid var(--border);border-left:3px solid var(--danger);border-radius:10px;padding:20px 24px}
.pain h4{margin:0 0 6px;font-size:16px;color:var(--danger);font-weight:700}
.pain p{margin:0;font-size:15px;color:var(--body)}
.arrow-row{display:grid;grid-template-columns:1fr;gap:14px}
.solve{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--gold);border-radius:10px;padding:20px 24px}
.solve h4{margin:0 0 6px;font-size:16px;color:var(--gold-dark);font-weight:700}
.solve p{margin:0;font-size:15px;color:var(--body)}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch;margin-bottom:18px}

/* list */
.ticks{list-style:none;margin:14px 0 0;padding:0}
.ticks li{position:relative;padding-left:26px;margin-bottom:9px;font-size:15.5px;color:var(--body)}
.ticks li::before{content:"";position:absolute;left:4px;top:11px;width:9px;height:9px;border-radius:2px;background:var(--gold);transform:rotate(45deg)}

/* pricing */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;align-items:start}
.price{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:32px 28px;box-shadow:var(--shadow)}
.price.featured{border-color:var(--gold);box-shadow:0 10px 30px rgba(184,134,58,.18);position:relative}
.price.featured::before{content:"最多事務所選擇";position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--gold);color:#fff;font-size:12.5px;padding:4px 14px;border-radius:99px;white-space:nowrap}
.price h3{margin-bottom:4px}
.price .amount{font-family:var(--serif);font-size:36px;font-weight:700;color:var(--text);line-height:1.3}
.price .amount small{font-size:15px;font-weight:400;color:var(--muted);font-family:var(--sans)}
.price .desc{color:var(--muted);font-size:14.5px;margin:6px 0 18px;min-height:44px}

/* security */
.sec-band{background:var(--navy);color:#e7e4dc}
.sec-band h2{color:#f2efe8}
.sec-band .section-head p{color:#c7cdd6}
.sec-item{border:1px solid rgba(242,239,232,.16);border-radius:12px;padding:24px;background:rgba(255,255,255,.03)}
.sec-item h3{color:#f2efe8}
.sec-item p{margin:0;color:#c7cdd6;font-size:15px}

/* cta */
.cta{background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:#fff;border-radius:16px;padding:52px 44px;text-align:center}
.cta h2{color:#fff;margin-bottom:12px}
.cta p{color:rgba(255,255,255,.92);max-width:600px;margin:0 auto 28px;font-size:16.5px}
.cta .btn{background:#fff;color:var(--gold-dark);border-color:#fff}
.cta .btn:hover{background:var(--surface-2)}
.cta .btn.sec{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.cta .btn.sec:hover{background:rgba(255,255,255,.14)}

/* footer */
footer{background:var(--navy);color:#c7cdd6;padding:56px 0 30px;font-size:14.5px}
footer a{color:#c7cdd6}
footer a:hover{color:#fff}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:34px;margin-bottom:34px}
.foot-grid h4{color:#f2efe8;font-family:var(--serif);font-size:16px;margin:0 0 12px}
.foot-grid ul{list-style:none;margin:0;padding:0}
.foot-grid li{margin-bottom:8px}
.foot-bottom{border-top:1px solid rgba(242,239,232,.14);padding-top:20px;font-size:13px;color:#8b96a5;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

@media (max-width:860px){
  .nav-links{display:none;position:absolute;top:70px;left:0;right:0;background:var(--surface);border-bottom:1px solid var(--border);flex-direction:column;gap:0;padding:8px 24px 16px;margin-left:0}
  .nav-links.open{display:flex}
  .nav-links a{padding:10px 0;border-bottom:1px solid var(--border)}
  .nav-toggle{display:block}
  .nav .btn-primary{display:none}
  .site-header{position:relative}
  .pair{grid-template-columns:1fr;gap:10px}
  .section{padding:60px 0}
  .cta{padding:40px 24px}
}

/* ===== 內頁共用（features / trial / faq） ===== */
.page-hero{background:var(--navy);color:#f2efe8;position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;top:-200px;right:-140px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(184,134,58,.26),transparent 62%)}
.page-hero .wrap{position:relative;z-index:1;padding:66px 24px}
.page-hero h1{font-family:var(--serif);font-size:clamp(27px,4vw,38px);margin:0 0 14px;line-height:1.4}
.page-hero p{color:#c7cdd6;margin:0;max-width:680px;font-size:16.5px}

.chips{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 0}
.chip{display:inline-block;padding:7px 15px;border-radius:99px;border:1px solid var(--border);background:var(--surface);color:var(--body);font-size:14px}
.chip:hover{border-color:var(--gold);color:var(--gold-dark);text-decoration:none}

.module{padding:56px 0;border-bottom:1px solid var(--border)}
.module:last-of-type{border-bottom:none}
.module-head{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.module-head .icon{margin-bottom:0}
.module-head h2{margin:0;font-size:26px}
.module .intro{color:var(--body);margin:0 0 24px;max-width:760px;font-size:16.5px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px 26px;box-shadow:var(--shadow)}
.panel h4{margin:0 0 12px;font-size:15.5px;color:var(--gold-dark);letter-spacing:.02em}

.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);margin:22px 0}
table{border-collapse:collapse;width:100%;font-size:14.5px;min-width:520px}
th,td{border-bottom:1px solid var(--border);padding:11px 16px;text-align:left;vertical-align:top}
th{background:var(--surface-2);color:var(--text);font-weight:700;white-space:nowrap}
tbody tr:last-child td{border-bottom:none}
td.tick{color:var(--success);font-weight:700;text-align:center}
td.no{color:#b3b0a6;text-align:center}
th.c,td.c{text-align:center}

.note{border:1px solid var(--gold);border-left-width:4px;background:var(--gold-soft);border-radius:10px;padding:16px 20px;margin:22px 0;font-size:15px;color:#6b4d1c}
.note strong{color:var(--gold-dark)}

/* steps */
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:18px}
.steps li{counter-increment:s;position:relative;padding-left:58px;min-height:40px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:38px;height:38px;border-radius:50%;background:var(--gold);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--serif)}
.steps h4{margin:6px 0 4px;font-size:16.5px}
.steps p{margin:0;color:var(--body);font-size:15.5px}

/* accordion */
details.qa{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:12px;box-shadow:var(--shadow);overflow:hidden}
details.qa[open]{border-color:var(--gold)}
details.qa summary{cursor:pointer;list-style:none;padding:18px 54px 18px 22px;font-weight:500;font-size:16.5px;position:relative}
details.qa summary::-webkit-details-marker{display:none}
details.qa summary::after{content:"＋";position:absolute;right:22px;top:17px;color:var(--gold);font-size:19px}
details.qa[open] summary::after{content:"−"}
details.qa summary:hover{background:var(--surface-2)}
details.qa .a{padding:0 22px 20px;color:var(--body);font-size:15.5px;border-top:1px solid var(--border);padding-top:16px}
details.qa .a p{margin:0 0 10px}
details.qa .a p:last-child{margin-bottom:0}

/* form */
.form-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:34px;box-shadow:var(--shadow-lg)}
.field{margin-bottom:18px}
.field label{display:block;font-size:14.5px;font-weight:500;margin-bottom:6px}
.field .req{color:var(--danger);margin-left:3px}
.field input,.field select,.field textarea{width:100%;font-family:inherit;font-size:15.5px;padding:11px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold);background:var(--surface);box-shadow:0 0 0 3px rgba(184,134,58,.14)}
.field textarea{min-height:110px;resize:vertical}
.field .hint{font-size:13px;color:var(--muted);margin-top:5px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-card .btn{width:100%;margin-top:8px}
.btn:disabled{opacity:.55;cursor:default;transform:none}
.form-status{min-height:20px;margin:12px 0 0;text-align:center;font-size:14px;color:var(--body)}
.form-status.err{color:var(--danger)}
.form-status.ok{color:var(--success)}
.thanks-main{min-height:calc(100vh - 70px);display:flex;align-items:center;padding:56px 0 72px}
.thanks-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:48px 40px;box-shadow:var(--shadow-lg);text-align:center;max-width:560px;margin:0 auto}
.thanks-card h1{font-family:var(--serif);font-size:clamp(26px,4vw,32px);margin:0 0 16px;line-height:1.4}
.thanks-card p{color:var(--body);margin:0 0 14px;font-size:16.5px;line-height:1.85}
.thanks-card p:last-child{margin-bottom:0}
.thanks-contact{margin-top:28px;padding-top:22px;border-top:1px solid var(--border);color:var(--body);font-size:15px}
.thanks-actions{margin-top:28px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

@media (max-width:860px){
  .split{grid-template-columns:1fr}
  .field-row{grid-template-columns:1fr}
  .module{padding:42px 0}
  .form-card{padding:24px}
  .thanks-card{padding:36px 22px}
}
