/* Tokens：顏色只改這一段。
   藍白＝VOS 品牌層定案（3-brand/core/13_VISUAL_IDENTITY.md v0.4；值同 meet-page）。
   赭、深咖啡只來自作者照（v0.5 頭像專用配色），頁面本身不用，不當第二個 accent。 */
:root {
  --paper: #FEFEFA;
  --surface-web: #F3F6FB;
  --ink: #0F2F55;
  --ink-soft: #5F6E85;
  --accent: #318CE7;
  --highlight: #FFD23F;
  --ink-rgb: 15, 47, 85;
  --rule: rgba(var(--ink-rgb), 0.14);

  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --wide: 1080px;
  --measure: 680px;
  --gutter: 20px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-feature-settings: "palt";
}
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.35; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 72px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--measure) + var(--gutter) * 2); }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: rgba(254, 254, 250, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: 0.04em; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--highlight); color: var(--ink);
  font-weight: 700; font-size: 17px; text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(var(--ink-rgb), 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(var(--ink-rgb), 0.16); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }

/* hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.headline { font-size: clamp(28px, 7vw, 46px); margin-bottom: 18px; }
.sub { font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.under { font-size: 14px; color: var(--ink-soft); }
.hero-photo { margin: 0; justify-self: center; width: min(240px, 62vw); }

/* blocks */
.block { padding: 52px 0; border-top: 1px solid var(--rule); }
.block.tint { background: var(--surface-web); }
.block h2 { font-size: clamp(24px, 5.4vw, 32px); margin-bottom: 18px; }
.block h2::before { content: ""; display: block; width: 36px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }
.lead { font-size: 19px; font-weight: 500; }
.lead-sm { color: var(--ink-soft); }
.note { font-size: 15px; color: var(--ink-soft); }

.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 16px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--rule); }
.fact-k { font-weight: 700; color: var(--accent); }

.steps { list-style: none; counter-reset: s; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 6px 64px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 900;
  display: grid; place-items: center; font-size: 16px; line-height: 1;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }

.about-grid { display: grid; gap: 24px; }
.about-photo { width: 140px; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.links a { font-weight: 700; }

.plain { padding-left: 1.2em; margin: 0 0 1em; }
.plain li { margin-bottom: 6px; }

.contact { margin: 0; display: grid; gap: 0; }
.contact div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact dt { font-weight: 700; color: var(--ink-soft); }
.contact dd { margin: 0; word-break: break-all; }

/* legal pages */
.legal { padding: 40px 0 56px; }
.legal h1 { font-size: clamp(28px, 6vw, 38px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal .meta { color: var(--ink-soft); font-size: 14px; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }

/* footer */
.site-foot { background: var(--ink); color: rgba(254, 254, 250, 0.86); padding: 40px 0 48px; font-size: 14px; }
.site-foot a { color: #fff; }
.foot-brand { font-weight: 900; font-size: 18px; color: #fff; margin-bottom: 6px; }
.foot-info { margin: 14px 0; display: grid; gap: 4px; }
.foot-info div { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-info dt { opacity: 0.7; min-width: 4.5em; }
.foot-info dd { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0; }
.foot-disclaimer { opacity: 0.8; }
.foot-copy { opacity: 0.6; margin: 0; }

@media (max-width: 420px) {
  .nav { gap: 12px; font-size: 14px; }
  .brand { font-size: 18px; }
  .steps li { padding-left: 58px; }
}
@media (min-width: 820px) {
  .hero { padding: 80px 0 64px; }
  .hero-grid { grid-template-columns: 1fr 300px; gap: 56px; }
  .hero-photo { width: 300px; }
  .about-grid { grid-template-columns: 160px 1fr; align-items: start; gap: 36px; }
  .about-photo { width: 160px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .block { padding: 72px 0; }
}
