:root {
    --bg: #f8f6f3;
    --text: #3d3832;
    --text-light: #8a827a;
    --accent: #b07d4f;
    --border: #e4dfda;
    --card-bg: #f0ece7;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1c1a17;
        --text: #d5cfc8;
        --text-light: #8a827a;
        --accent: #c9a07a;
        --border: #2e2a25;
        --card-bg: #24211d;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Noto Sans TC', sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.8; -webkit-font-smoothing: antialiased;
    font-size: 15px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 100; height: 48px;
    display: flex; align-items: center; justify-content: center;
}
.nav-inner {
    max-width: 680px; width: 100%; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-size: 14px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 7px;
}
.logo:hover { text-decoration: none; }
.logo img { width: 22px; height: 22px; border-radius: 5px; }
.nav-links { display: flex; gap: 16px; font-size: 13px; align-items: center; }
.nav-links a { color: var(--text-light); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-switcher {
    display: flex; gap: 2px;
    border-left: 1px solid var(--border);
    padding-left: 12px; margin-left: 2px;
}
.lang-switcher a {
    font-size: 11px; color: var(--text-light);
    padding: 2px 6px; border-radius: 3px;
}
.lang-switcher a:hover { color: var(--text); text-decoration: none; }
.lang-switcher a.active { color: var(--text); font-weight: 600; }

/* Page content */
.page {
    max-width: 680px; margin: 0 auto;
    padding: 88px 24px 64px;
}

/* Hero - just the top of .page */
.hero-head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 24px;
}
.hero-head img {
    width: 64px; height: 64px;
    border-radius: 14px;
}
.hero-head h1 {
    font-size: 28px; font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hero-head .ver {
    font-size: 12px; color: var(--text-light); font-weight: 400;
}
.hero-desc {
    font-size: 16px; color: var(--text-light);
    margin-bottom: 20px;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--text); color: var(--bg);
    padding: 9px 18px; border-radius: 8px;
    font-size: 13px; font-weight: 500;
    transition: opacity 0.15s;
}
.hero-cta:hover { opacity: 0.8; text-decoration: none; color: var(--bg); }
.hero-cta svg { width: 14px; height: 14px; }

/* Divider */
.divider {
    border: none; border-top: 1px solid var(--border);
    margin: 40px 0;
}

/* Features as list */
.feature-list { list-style: none; }
.feature-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list strong {
    display: block;
    font-size: 14px; font-weight: 600;
    margin-bottom: 2px;
}
.feature-list span {
    font-size: 13px; color: var(--text-light);
    line-height: 1.6;
}

/* Section titles */
.sec-title {
    font-size: 13px; font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* Inline note */
.note {
    font-size: 14px; color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Footer */
footer {
    max-width: 680px; margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 24px 24px 40px;
    display: flex; gap: 20px;
    font-size: 12px; color: var(--text-light);
    flex-wrap: wrap;
}
footer a { color: var(--text-light); }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal {
    max-width: 680px; margin: 0 auto;
    padding: 88px 24px 64px;
}
.legal h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.legal .updated { font-size: 12px; color: var(--text-light); margin-bottom: 32px; }
.legal h2 { font-size: 16px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 8px; }
.legal ul, .legal ol { padding-left: 18px; margin-bottom: 12px; }

/* Support page */
.support {
    max-width: 680px; margin: 0 auto;
    padding: 88px 24px 64px;
}
.support h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.support .intro { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }
.support h2 {
    font-size: 13px; font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 32px 0 12px;
}
.contact-card {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.contact-card .icon { display: none; }
.contact-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-card p { font-size: 13px; color: var(--text-light); }
.req-table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.req-table td {
    padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.req-table td:first-child { font-weight: 600; width: 160px; color: var(--text); }
.req-table td:last-child { color: var(--text-light); }
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
    font-size: 14px; font-weight: 600; cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 18px; font-weight: 300;
    color: var(--text-light); transition: transform 0.15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
    font-size: 13px; color: var(--text-light);
    line-height: 1.8; padding-top: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .hero-head h1 { font-size: 24px; }
    .hero-desc { font-size: 15px; }
    .nav-links { gap: 10px; font-size: 12px; }
    .lang-switcher { padding-left: 8px; }
}
