/* Mimolet - shared styles for document/legal pages (mimolet.kz) */
:root {
	--bg: #0e0b1a;
	--bg2: #17122b;
	--card: #1d1733;
	--text: #f3f0ff;
	--muted: #b6aee0;
	--accent: #8b5cf6;
	--accent2: #ec4899;
	--border: rgba(255, 255, 255, 0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.doc {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

.topbar {
	position: sticky; top: 0; z-index: 10;
	background: rgba(14, 11, 26, 0.88);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 20px; max-width: 1040px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.brand-ic { width: 26px; height: 26px; border-radius: 7px; display: block; }
.brand:hover { text-decoration: none; }
.brand span { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-docs { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.nav-docs a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-docs a:hover { color: var(--text); text-decoration: none; }
.nav-docs a.active { color: var(--text); }

.article { max-width: 820px; margin: 0 auto; padding: 48px 20px 64px; }
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 32px; }
.article-header h1 { font-size: clamp(26px, 5vw, 38px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; }
.article-header .meta { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 14px; }

.article-body h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; letter-spacing: -0.3px; }
.article-body p { margin: 12px 0; color: #ded8f5; }
.article-body ul { margin: 12px 0 12px 22px; color: #ded8f5; }
.article-body li { margin: 7px 0; }
.article-body strong { color: var(--text); }

.notice { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.notice.warning { border-left-color: var(--accent2); }
.notice p { margin: 0; color: var(--muted); }
.requisites { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 22px 0; }
.requisites p { margin: 5px 0; font-size: 15px; }
.fine-print { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

.doc-foot { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 14px; }
.doc-foot .container { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.doc-foot a { color: var(--muted); }
.doc-foot a:hover { color: var(--text); }
.doc-foot .foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
