:root {
    color-scheme: light;
    --page: #f4f5f2;
    --surface: #fff;
    --ink: #19211d;
    --muted: #68746c;
    --line: #e1e6e0;
    --accent: #ffb32c;
    --accent-deep: #805300;
}
* { box-sizing: border-box; }
html { min-height: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    color: var(--ink);
    background: radial-gradient(circle at 48% -24%, #fff4d8 0, transparent 34%), var(--page);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.legal-header, .legal-main { width: calc(100% - 36px); max-width: 900px; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 0 18px; }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .95rem; font-weight: 850; text-decoration: none; }
.legal-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; color: #392600; background: var(--accent); font-size: 1.2rem; }
.legal-brand em { color: var(--muted); font-style: normal; font-weight: 550; }
.legal-home { color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none; }
.legal-home:hover, .legal-card a:hover { color: var(--accent-deep); }
.legal-main { flex: 1 0 auto; padding-bottom: 34px; }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid rgba(219,226,218,.9); border-radius: 24px; background: var(--surface); box-shadow: 0 22px 60px rgba(24,34,28,.08); }
.legal-eyebrow { margin: 0 0 8px; color: var(--accent-deep); font-size: .68rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.legal-card h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.3rem); letter-spacing: -.04em; }
.legal-intro { margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 15px 0 20px; margin: 20px 0 5px; border-bottom: 1px solid #edf0ec; color: #78827b; font-size: .75rem; }
.legal-content { color: #49554d; font-size: .88rem; line-height: 1.9; }
.legal-content section { padding-top: 20px; }
.legal-content h2 { margin: 0 0 7px; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.legal-content p { margin: 7px 0; }
.legal-content ul, .legal-content ol { padding-left: 1.4em; margin: 7px 0; }
.legal-content li { padding-left: 3px; margin: 4px 0; }
.legal-content a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-contact { padding: 15px 17px; margin-top: 20px; border: 1px solid #f0dfb8; border-radius: 14px; background: #fff9eb; }
.site-footer { width: min(100%, 900px); flex: 0 0 auto; padding: 16px 12px max(20px, env(safe-area-inset-bottom)); margin: 0 auto; border-top: 1px solid rgba(209,216,209,.82); color: #7a847d; font-size: .74rem; line-height: 1.7; text-align: center; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; justify-content: center; gap: 17px; margin-top: 3px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--accent-deep); text-decoration: underline; }
@media (max-width: 560px) {
    .legal-header, .legal-main { width: calc(100% - 28px); }
    .legal-header { padding: 16px 0 13px; }
    .legal-card { border-radius: 19px; }
    .legal-main { padding-bottom: 24px; }
}
