/* Shared layout for long-form legal pages: data usage, privacy, terms, refunds. */
.doc-page{ max-width:860px; margin:0 auto; padding:56px 20px 80px; }
.doc-page h1{ font-size:34px; line-height:1.2; font-weight:800; color:#0f172a; margin:0 0 10px; }
.doc-updated{ color:#64748b; font-size:14px; margin:0 0 28px; }
.doc-lead{ color:#334155; font-size:17px; line-height:1.75; margin:0 0 24px; }
.doc-page h2{ font-size:22px; font-weight:700; color:#0f172a; margin:38px 0 12px; scroll-margin-top:90px; }
.doc-page h3{ font-size:16px; font-weight:700; color:#0f172a; margin:20px 0 8px; }
.doc-page p{ color:#334155; font-size:16px; line-height:1.7; margin:0 0 14px; }
.doc-page ol, .doc-page ul{ color:#334155; font-size:16px; line-height:1.8; padding-left:22px; margin:0 0 16px; }
.doc-page li{ margin-bottom:8px; }
.doc-page strong{ color:#0f172a; }
.doc-page a{ color:#2f68e6; text-decoration:none; font-weight:600; }
.doc-page a:hover{ text-decoration:underline; }

.doc-toc{ border:1px solid #eef2f7; background:#fbfdff; border-radius:16px; padding:20px 24px; margin:0 0 34px; }
.doc-toc h2{ font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:#64748b; margin:0 0 12px; }
.doc-toc ol{ margin:0; padding-left:20px; columns:2; column-gap:28px; }
.doc-toc li{ margin-bottom:6px; break-inside:avoid; }

.doc-table-wrap{ overflow-x:auto; margin:0 0 18px; }
.doc-table{ width:100%; border-collapse:collapse; font-size:15px; min-width:520px; }
.doc-table th, .doc-table td{ text-align:left; padding:12px 14px; border-bottom:1px solid #eef2f7; vertical-align:top; color:#334155; }
.doc-table th{ background:#f8fafc; color:#0f172a; font-weight:700; }
.doc-table td:first-child{ font-weight:600; color:#0f172a; white-space:nowrap; }

.doc-callout{ border:1px solid #dbeafe; background:#eff6ff; border-radius:14px; padding:18px 20px; margin:24px 0; }
.doc-callout p{ margin:0; color:#1e3a8a; }
.doc-contact{ border:1px solid #eef2f7; background:#fbfdff; border-radius:14px; padding:20px 22px; margin-top:32px; }
.doc-contact p{ margin:0 0 6px; }

.doc-related{ margin-top:36px; padding-top:20px; border-top:1px solid #eef2f7; font-size:15px; color:#64748b; }
.doc-related a{ margin-right:16px; }

@media (max-width:640px){
  .doc-page h1{ font-size:28px; }
  .doc-toc ol{ columns:1; }
}

[data-theme="dark"] .doc-page h1,
[data-theme="dark"] .doc-page h2,
[data-theme="dark"] .doc-page h3,
[data-theme="dark"] .doc-page strong,
[data-theme="dark"] .doc-table td:first-child,
[data-theme="dark"] .doc-table th{ color:#e7edf6; }
[data-theme="dark"] .doc-page p,
[data-theme="dark"] .doc-page li,
[data-theme="dark"] .doc-table th,
[data-theme="dark"] .doc-table td{ color:#c3cee0; }
[data-theme="dark"] .doc-lead{ color:#c3cee0; }
[data-theme="dark"] .doc-toc,
[data-theme="dark"] .doc-contact{ background:#0e1726; border-color:#243248; }
[data-theme="dark"] .doc-table th{ background:#0e1726; }
[data-theme="dark"] .doc-table th, [data-theme="dark"] .doc-table td{ border-color:#243248; }
[data-theme="dark"] .doc-callout{ background:#0e1726; border-color:#243248; }
[data-theme="dark"] .doc-callout p{ color:#bfdbfe; }
[data-theme="dark"] .doc-related{ border-color:#243248; }
