/* VIP-POEZDKI · Legal Documents · Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:   #F5C518;
  --accent-dk:#c9a000;
  --bg:       #0f0f0f;
  --surface:  #1a1a1a;
  --border:   #2a2a2a;
  --text:     #e8e8e8;
  --muted:    #9a9a9a;
  --link:     #F5C518;
  --radius:   10px;
  --max-w:    860px;
}

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  padding: 0 16px 64px;
}

/* ─── Header ─────────────────────────────────────────────────────────── */
header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-block a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #000; letter-spacing: -0.5px;
}

.logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}

.back-home {
  font-size: 0.85rem;
  color: var(--link);
  text-decoration: none;
  border: 1px solid var(--accent-dk);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}
.back-home:hover { background: rgba(245,197,24,.1); }

/* ─── Document meta ───────────────────────────────────────────────────── */
.doc-meta {
  max-width: var(--max-w);
  margin: 28px auto 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.doc-meta strong { color: var(--text); }

/* ─── Main ────────────────────────────────────────────────────────────── */
main {
  max-width: var(--max-w);
  margin: 0 auto;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 6px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin: 40px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 24px 0 8px;
}

p { margin-bottom: 12px; color: var(--text); }

ul, ol {
  margin: 10px 0 16px 22px;
  color: var(--text);
}
li { margin-bottom: 6px; }

a { color: var(--link); text-decoration: underline; }
a:hover { color: var(--accent-dk); }

strong { color: #fff; font-weight: 600; }

/* ─── Notice box ──────────────────────────────────────────────────────── */
.notice {
  background: rgba(245,197,24,.07);
  border: 1px solid rgba(245,197,24,.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* ─── Contact block ───────────────────────────────────────────────────── */
.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 20px 0;
}
.contact-block p { margin-bottom: 4px; }

/* ─── Table of contents ───────────────────────────────────────────────── */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0 36px;
}
.toc h2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}
.toc ol { margin: 0 0 0 18px; }
.toc li { margin-bottom: 4px; font-size: 0.9rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
footer {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
footer a { color: var(--link); }

/* ─── Related docs ────────────────────────────────────────────────────── */
.related-docs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 40px 0 0;
}
.related-docs h3 { margin-top: 0; }
.related-docs ul { margin-bottom: 0; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1rem; }
  header { flex-direction: column; align-items: flex-start; }
}
