:root {
  color-scheme: light;
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #20262e;
  --muted: #5f6870;
  --line: #e3e5e1;
  --accent: #0e7c7f;
  --accent-ink: #ffffff;
  --accent-soft: #e3f5f5;
  --glow: #20b5b8;
  --radius: 20px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang HK", "Noto Sans TC", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101519;
    --surface: #171f26;
    --ink: #eef1f2;
    --muted: #a3acb3;
    --line: #263039;
    --accent: #4fd1d3;
    --accent-ink: #0b1215;
    --accent-soft: #123a3c;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 10;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 720; font-size: 1.2rem; letter-spacing: -0.02em; }
.mark { width: 34px; height: 34px; flex: none; }
.mark rect { fill: var(--ink); }
.mark path { stroke: var(--bg); }
.mark circle { fill: var(--glow); }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 560; }
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 640; text-decoration: none;
  border: 1.5px solid var(--accent);
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.secondary { color: var(--accent); background: transparent; }
.button.secondary:hover { background: var(--accent-soft); }

/* Sections */
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }

.hero { padding: 104px 0 96px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 68%);
  z-index: -1;
}
.hero h1 { max-width: 13em; }

.page-hero { padding: 80px 0 40px; }
.page-hero + section { border-top: 0; padding-top: 24px; }

/* Product card */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.product {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px;
}
.product-icon { width: 200px; height: 200px; border-radius: 44px; box-shadow: 0 18px 40px -18px rgba(14, 124, 127, 0.55); }
.product h3 { font-size: 1.8rem; margin-bottom: 4px; }
.product .zh { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.product p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 24px; }
.tags li { font-size: 0.85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 650; color: var(--accent); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); }

/* Grids */
h2 + .grid-3 { margin-top: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tile .num { font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 20px; }
.tile p { color: var(--muted); margin: 0; }
.tile p + p { margin-top: 8px; }

.cta { text-align: center; }
.cta .lead { margin: 0 auto; }
.cta .actions { justify-content: center; }

/* Prose pages */
.prose { max-width: 44em; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin: 0 0 16px; }
.prose li + li { margin-top: 6px; }
.updated { font-size: 0.9rem; color: var(--muted); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 0; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; color: var(--muted); }

.contact-card h3 { margin-bottom: 8px; }
.contact-card .email { font-weight: 650; font-size: 1.05rem; word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .product-icon { width: 112px; height: 112px; border-radius: 26px; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 60px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .mark { width: 30px; height: 30px; }
  .nav a { padding: 8px 8px; font-size: 0.9rem; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .page-hero { padding: 56px 0 24px; }
  .facts { grid-template-columns: 1fr; gap: 4px; }
  .facts dd { margin-bottom: 12px; }
  .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
