.legal-prototype {
  --primary: #ff6b00;
  --primary-hover: #e65100;
  --primary-soft: rgba(255, 107, 0, 0.1);
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --max: 1200px;
  color: var(--text);
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: clip;
}

.legal-prototype * { box-sizing: border-box; }
.legal-prototype a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
.legal-prototype .container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.legal-prototype .page-header { padding: 160px 0 80px; background: linear-gradient(135deg, #fffcf8 0%, #f8fafc 100%); border-bottom: 1px solid rgba(249, 115, 22, 0.1); position: relative; overflow: hidden; }
.legal-prototype .page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%); pointer-events: none; }
.legal-prototype .page-header-content { max-width: 840px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.legal-prototype .page-title { font-size: 40px; font-weight: 900; color: var(--text); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.02em; }
.legal-prototype .page-desc { font-size: 15px; color: var(--text); line-height: 1.9; max-width: 100%; margin: 0; text-align: left; }
.legal-prototype .page-meta { display: flex; justify-content: center; gap: 24px; margin: 0 0 32px; flex-wrap: wrap; }
.legal-prototype .page-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.legal-prototype .page-meta-item .material-icons { color: var(--primary); font-size: 16px; }
.legal-prototype .page-intro-card { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(249, 115, 22, 0.1); border-radius: 16px; padding: 32px; backdrop-filter: blur(12px); box-shadow: 0 8px 32px rgba(249, 115, 22, 0.04); }
.legal-prototype .content-section { padding: 80px 0 100px; background: var(--white); }
.legal-prototype .content-wrapper { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: flex-start; }
.legal-prototype .content-sidebar { position: sticky; top: 120px; background: var(--bg); border-radius: var(--radius-lg); padding: 32px 24px; border: 1px solid var(--border); }
.legal-prototype .sidebar-title { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.legal-prototype .sidebar-nav { display: grid; gap: 4px; }
.legal-prototype .sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; color: var(--text-muted); }
.legal-prototype .sidebar-link:hover { background: var(--white); color: var(--text); }
.legal-prototype .sidebar-link.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.legal-prototype .sidebar-link .material-icons { width: 20px; text-align: center; font-size: 18px; }
.legal-prototype .content-main { max-width: 800px; }
.legal-prototype .content-block { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.legal-prototype .content-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.legal-prototype .content-block h2 { font-size: 26px; font-weight: 800; color: var(--text); margin: 0 0 24px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; }
.legal-prototype .content-block h2 .material-icons { width: 48px; height: 48px; background: var(--primary-soft); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; font-size: 22px; }
.legal-prototype .content-block h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 16px; }
.legal-prototype .content-block p { font-size: 16px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.8; }
.legal-prototype .content-block ul { margin: 16px 0 24px; padding-left: 0; list-style: none; }
.legal-prototype .content-block ul li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.legal-prototype .content-block ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.legal-prototype .content-block ol { margin: 16px 0 24px; padding-left: 24px; counter-reset: list-counter; }
.legal-prototype .content-block ol li { position: relative; padding-left: 8px; margin-bottom: 12px; font-size: 16px; color: var(--text-muted); line-height: 1.7; list-style: none; counter-increment: list-counter; }
.legal-prototype .content-block ol li::before { content: counter(list-counter) '.'; position: absolute; left: -24px; color: var(--primary); font-weight: 700; }
.legal-prototype .data-table { width: 100%; border-collapse: collapse; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: block; }
.legal-prototype .data-table thead, .legal-prototype .data-table tbody, .legal-prototype .data-table tr { width: 100%; display: table; table-layout: fixed; }
.legal-prototype .data-table th { background: var(--primary-soft); color: var(--text); font-weight: 700; padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
.legal-prototype .data-table td { padding: 16px; color: var(--text-muted); border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-prototype .data-table tr:last-child td { border-bottom: none; }

@media (max-width: 1024px) {
  .legal-prototype .content-wrapper { grid-template-columns: 1fr; }
  .legal-prototype .content-sidebar { position: static; margin-bottom: 40px; }
  .legal-prototype .sidebar-nav { display: flex; flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 768px) {
  .legal-prototype .page-header { padding: 120px 0 56px; }
  .legal-prototype .page-title { font-size: 32px; }
  .legal-prototype .page-intro-card { padding: 24px; }
  .legal-prototype .content-section { padding: 56px 0 72px; }
  .legal-prototype .content-sidebar { padding: 24px 16px; }
  .legal-prototype .sidebar-link { padding: 10px 12px; font-size: 13px; }
  .legal-prototype .content-block h2 { font-size: 22px; }
  .legal-prototype .content-block h2 .material-icons { width: 40px; height: 40px; }
  .legal-prototype .content-block h3 { font-size: 18px; }
  .legal-prototype .content-block p, .legal-prototype .content-block li { font-size: 15px; }
  .legal-prototype .data-table { font-size: 13px; overflow-x: auto; }
  .legal-prototype .data-table th, .legal-prototype .data-table td { padding: 12px; }
}
