/* Standalone legal pages: /terms, /privacy, /cookies (one shared stylesheet) */
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background:#f9fafb; margin:0; padding:0; }
.container { max-width:760px; margin:0 auto; padding:40px 24px 80px; }
.back { color:#6b7280; text-decoration:none; font-size:13px; display:inline-flex; align-items:center; gap:6px; margin-bottom:24px; }
.back:hover { color:#111827; }
h1 { font-size:28px; font-weight:800; color:#111827; margin:0 0 8px; }
.updated { font-size:13px; color:#9ca3af; margin-bottom:32px; }
.content { background:#fff; border-radius:12px; padding:32px; box-shadow:0 1px 3px rgba(0,0,0,0.08); }
.content h3 { font-size:15px; font-weight:700; color:#111827; margin:24px 0 8px; }
.content p { margin:6px 0; color:#374151; line-height:1.7; }
.content ul { margin:6px 0 6px 16px; padding:0; list-style:none; }
.content ul li { color:#374151; line-height:1.8; }
.content ul li::before { content:"• "; }

/* notice box: amber by default (terms), green variant (cookies) */
.notice { background:#fef9ec; border-left:3px solid #f59e0b; padding:12px 16px; border-radius:0 8px 8px 0; margin:12px 0; }
.notice p { margin:0; color:#92400e; font-size:13.5px; line-height:1.7; }
.notice-green { background:#f0fdf4; border-left-color:#22c55e; margin:16px 0; }
.notice-green p { color:#166534; }

/* cookie table */
table { width:100%; border-collapse:collapse; margin:16px 0; font-size:13px; }
th { background:#f9fafb; color:#6b7280; font-weight:600; text-align:left; padding:10px 12px; border:1px solid #e5e7eb; }
td { padding:10px 12px; border:1px solid #e5e7eb; color:#374151; vertical-align:top; line-height:1.5; }
tr:nth-child(even) td { background:#fafafa; }
/* phones: the cookie table must not push the page wider than the screen */
@media (max-width:600px) { .legal-cookies .content { padding:24px 16px; } .legal-cookies table { display:block; overflow-x:auto; } }

/* privacy page uses tighter paragraphs */
.legal-privacy .content p { margin:4px 0; }
/* long URLs must wrap instead of widening the page */
.content a { overflow-wrap:anywhere; }
