/* Shared styles for legal pages (privacy.html, terms.html) */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  --brand-50: #f0fdf4; --brand-100: #dcfce7; --brand-200: #bbf7d0;
  --brand-400: #4ade80; --brand-500: #22c55e; --brand-600: #16a34a;
  --brand-700: #15803d; --brand-800: #0d4d24; --brand-900: #052e14;
  --primary-glow: rgba(34, 197, 94, 0.45);
  --text: #0a1a10; --text-muted: #4a6357; --text-faint: #7e9388;
  --surface: #ffffff; --bg: #f5faf2; --border: rgba(22, 78, 38, 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html, body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-700); }
button, select { font: inherit; color: inherit; cursor: pointer; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--border); padding: 14px 22px; }
.nav-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: 800; color: var(--brand-800); letter-spacing: -0.02em; text-decoration: none; }
.nav-right { display: flex; gap: 10px; align-items: center; }
.lang-select { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.btn-home { background: var(--brand-50); color: var(--brand-700); padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--brand-200); }
.btn-home:hover { background: var(--brand-100); }
main { max-width: 760px; margin: 0 auto; padding: 40px 22px 80px; }
h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; color: var(--brand-800); letter-spacing: -0.02em; margin-bottom: 8px; }
.updated { color: var(--text-faint); font-size: 14px; margin-bottom: 32px; }
h2 { font-size: 22px; font-weight: 700; color: var(--brand-800); letter-spacing: -0.01em; margin: 32px 0 12px; }
h3 { font-size: 17px; font-weight: 700; color: var(--brand-700); margin: 20px 0 8px; }
p { margin-bottom: 14px; color: var(--text); }
ul { margin: 8px 0 14px 22px; padding: 0; }
li { padding: 4px 0; }
li::marker { color: var(--brand-500); }
strong { color: var(--brand-800); font-weight: 700; }
.note { background: var(--brand-50); border-left: 3px solid var(--brand-500); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 14px; color: var(--text-muted); }
.toc { background: white; border-radius: 12px; padding: 16px 20px; margin-bottom: 32px; box-shadow: 0 2px 12px rgba(15, 76, 36, 0.06); }
.toc h2 { margin-top: 0; font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.toc ol { margin: 8px 0 0 22px; padding: 0; font-size: 14px; }
.toc a { color: var(--brand-700); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
footer { text-align: center; padding: 30px 22px; color: var(--text-faint); font-size: 13px; border-top: 1px solid var(--border); }
footer a { color: var(--text-muted); }
