:root{
  --paper:#ffffff;
  --ink:#171a2e;
  --muted:#5b6170;
  --accent:#2c62ad;
  --line:#e6e8ee;
  --soft:#f7f8fa;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'IBM Plex Sans','Noto Sans TC',system-ui,-apple-system,sans-serif;
  font-size:16.5px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
body.zh{font-family:'Noto Sans TC','IBM Plex Sans',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
.wrap{max-width:880px;margin:0 auto;padding:0 24px}

/* header */
header.site{border-bottom:1px solid var(--line);background:var(--paper)}
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:20px 0}
.brand img{height:26px;display:block}
nav.main{display:flex;gap:26px;flex-wrap:wrap;font-size:14.5px;color:var(--muted)}
nav.main a{padding:2px 0;border-bottom:2px solid transparent;transition:color .15s}
nav.main a:hover{color:var(--ink)}
nav.main a.on{color:var(--ink);border-bottom-color:var(--accent)}
nav.main a:focus-visible,.lang button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
.lang{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.lang button{background:none;border:none;font:inherit;color:var(--muted);cursor:pointer;padding:2px 4px}
.lang button.on{color:var(--ink);font-weight:600}

/* content */
main{padding:56px 0 72px}
.kicker{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
h1{font-size:clamp(28px,4.5vw,38px);font-weight:600;letter-spacing:-.01em;line-height:1.2;max-width:22em;text-wrap:balance}
.lede{max-width:44em;margin-top:18px;font-size:18px;color:var(--ink)}
.support{max-width:44em;margin-top:12px;color:var(--muted)}
h2{font-size:21px;font-weight:600;margin:48px 0 14px;letter-spacing:-.005em}
h3{font-size:16.5px;font-weight:600;margin:26px 0 6px}
p{margin-bottom:14px;max-width:46em}
.muted{color:var(--muted)}
ul.plain{margin:0 0 16px 20px}
ul.plain li{margin-bottom:8px;max-width:44em}

/* tiles */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 8px}
.tile{border:1px solid var(--line);border-radius:6px;padding:18px;background:var(--paper)}
.tile b{display:block;font-weight:600;margin-bottom:6px}
.tile p{font-size:14px;color:var(--muted);margin:0}

/* serve list */
.serve{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 16px}
.serve span{border:1px solid var(--line);background:var(--soft);border-radius:5px;padding:6px 14px;font-size:14px}

/* service blocks */
.svc{border-top:1px solid var(--line);padding:22px 0 10px}
.svc:last-of-type{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:8px}
.svc h3{margin:0 0 8px}
.svc p{margin-bottom:6px}

/* particulars table */
table.particulars{border-collapse:collapse;width:100%;max-width:640px;margin:14px 0 22px;font-size:15px}
table.particulars td{padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top}
table.particulars td:first-child{color:var(--muted);white-space:nowrap;width:220px}

/* contact */
.contact-email{font-size:20px;font-weight:600;margin:16px 0 6px}
.contact-email a{color:var(--accent)}
.addr{margin-top:22px;padding:18px 20px;border:1px solid var(--line);border-radius:6px;max-width:420px;font-size:15px;line-height:1.8}

/* footer */
footer.site{border-top:1px solid var(--line);background:var(--soft);padding:34px 0 40px;font-size:13px;color:var(--muted);line-height:1.8}
footer.site .scope{margin-top:12px;max-width:62em}
footer.site .links{margin-top:12px}
footer.site .links a{color:var(--muted);text-decoration:underline;text-underline-offset:3px;margin-right:16px}
footer.site .links a:hover{color:var(--ink)}

/* tile icons */
.tile svg{display:block;margin-bottom:12px;color:var(--accent)}

/* hero motif */
.hero-head{position:relative}
.motif{position:absolute;right:0;top:-8px;height:300px;width:auto;fill:var(--ink);opacity:.055;pointer-events:none}

/* diagrams */
figure.diagram{margin:20px 0 6px;max-width:660px}
figure.diagram svg{width:100%;height:auto;display:block}
figure.diagram .box{fill:var(--soft);stroke:#c9cdd7;stroke-width:1}
figure.diagram text{fill:var(--ink);font-size:13px;font-family:inherit}
figure.diagram .ln{stroke:var(--accent);stroke-width:1.4;fill:none}
figure.diagram .ah{fill:var(--accent)}
figure.diagram figcaption{font-size:12.5px;color:var(--muted);margin-top:8px}

@media (max-width:760px){
  .tiles{grid-template-columns:1fr}
  table.particulars td:first-child{width:auto}
  main{padding:40px 0 56px}
}
@media (max-width:900px){
  .motif{display:none}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}
