:root {
  --navy: #0a2342;
  --navy-2: #12355b;
  --navy-3: #1d4a7a;
  --ink: #1b2533;
  --muted: #4a5668;
  --line: #d9e1ec;
  --soft: #f3f6fa;
  --orange: #f5821f;
  --orange-dark: #e0700f;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy); line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 4.2vw, 2.05rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; min-width: 0; }
.brand-mark { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--orange); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 16px; white-space: nowrap; }
.brand-text span { font-size: 12px; color: #c9d6e8; white-space: nowrap; }
.lang { color: var(--white); text-decoration: none; border: 1px solid #5d7ea6; border-radius: 999px; padding: 5px 12px; font-size: 14px; white-space: nowrap; }
.lang:hover { background: var(--navy-2); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 2px; padding-bottom: 8px; }
.nav a { color: #dbe5f2; text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: var(--navy-2); color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); background: var(--navy-2); box-shadow: inset 0 -3px 0 var(--orange); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; text-align: center; line-height: 1.3; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: #8fa9c8; }
.btn-ghost:hover { background: var(--navy-2); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--soft); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 10px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.alt-contact { font-size: 15px; color: #c9d6e8; margin: 0; }
.alt-contact a { color: var(--white); }
.light .alt-contact { color: var(--muted); }
.light .alt-contact a { color: var(--navy-3); }

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 36px 0 48px; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.12rem; color: #e3ebf5; max-width: 40em; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--navy); background: #ffd2a8; border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 64px 0 72px; } }

/* demo mock */
.mock { position: relative; display: grid; gap: 12px; }
.demo-tag { position: absolute; top: -12px; right: 10px; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; z-index: 2; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 16px; box-shadow: 0 10px 30px rgba(3, 15, 35, .28); }
.card-title { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.mail-body { font-size: 14px; line-height: 1.65; margin: 0; }
.arrow { text-align: center; color: #ffd2a8; font-size: 14px; font-weight: 700; }
.qt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qt th { text-align: left; font-weight: 700; color: var(--white); background: var(--navy); padding: 6px 8px; }
.qt th:last-child, .qt td:last-child { text-align: right; }
.qt td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qt tr.manual td { background: #fff1e6; }
.flag { display: inline-block; font-size: 12px; font-weight: 700; color: #9a3b00; }
.status { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; flex-wrap: wrap; }
.chip { display: inline-block; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 12.5px; }
.chip-draft { background: #fff1e6; color: #9a3b00; }
.chip-approve { background: var(--navy); color: var(--white); }

/* sections */
section { padding: 52px 0; }
section.soft { background: var(--soft); }
.section-lead { color: var(--muted); max-width: 44em; font-size: 1.05rem; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h3 { margin-bottom: .35em; }
.panel p:last-child, .panel ul:last-child, .panel ol:last-child { margin-bottom: 0; }
.panel.navy { background: var(--navy); border-color: var(--navy); color: #e3ebf5; }
.panel.navy h3 { color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.before li::before { border: 0; width: 10px; height: 10px; border-radius: 50%; background: #9aa8ba; transform: none; top: .6em; left: 6px; }
.compare-label { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.panel.navy .compare-label { color: #ffd2a8; }
.note { font-size: 15px; color: var(--muted); border-left: 4px solid var(--orange); padding: 4px 0 4px 14px; margin-top: 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .steps.two { grid-template-columns: repeat(2, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 72px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }
.shot { margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.shot figcaption { font-size: 14.5px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); }
.shot figcaption strong { color: #9a3b00; }
.example { background: #fff7ef; border: 1px dashed #e0700f; border-radius: var(--radius); padding: 18px 20px; }
.example .tag { display: inline-block; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 13px; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.faq dt { font-weight: 700; color: var(--navy); margin-top: 16px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.contact-list .k { display: block; font-size: 14px; color: var(--muted); }
.contact-list a { font-size: 1.15rem; font-weight: 700; color: var(--navy); word-break: break-all; }
.privacy { font-size: 15.5px; }

/* CTA band */
.cta { background: var(--navy); color: var(--white); }
.cta h2 { color: var(--white); }
.cta p { color: #e3ebf5; }

/* footer */
.site-footer { background: #071a32; color: #c9d6e8; padding: 36px 0 110px; font-size: 15px; }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 36px; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .small { font-size: 13.5px; color: #aebdd1; margin-top: 18px; }

/* mobile sticky CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(10, 35, 66, .97); box-shadow: 0 -4px 16px rgba(0,0,0,.25); }
.mobile-cta .btn { min-height: 46px; padding: 8px 10px; font-size: 15px; }
@media (min-width: 760px) { .mobile-cta { display: none; } }
.nb { display: inline-block; }
.shot { position: relative; }
.shot-tag { top: 10px; right: 10px; }
