/* =============================================
   C-WORLD — Legal Documents Stylesheet
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }

body {
    font-family: "Inter", system-ui, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: #0d0d0d;
    color: rgba(255, 255, 255, 0.82);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Nav ---------- */
.doc-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 0;
}

.doc-nav__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.doc-nav__back:hover { color: #fff; }

.doc-nav__brand {
    font-size: 15px;
    font-weight: 700;
    color: #f6ed40;
    letter-spacing: 0.04em;
}

/* ---------- Container ---------- */
.doc-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Header ---------- */
.doc-main {
    padding: 72px 0 96px;
}

.doc-header {
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f6ed40;
    margin-bottom: 16px;
}

.doc-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 10px;
}

.doc-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
}

.doc-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.doc-meta span::before {
    content: "·";
    margin-right: 20px;
    opacity: 0.4;
}

.doc-meta span:first-child::before { display: none; }

/* ---------- Body ---------- */
.doc-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.doc-body h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin-top: 32px;
    margin-bottom: 4px;
    padding-left: 14px;
    border-left: 3px solid #f6ed40;
}

.doc-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 20px;
    margin-bottom: 2px;
}

.doc-body p {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.doc-body ul, .doc-body ol {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-body li {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.doc-body a {
    color: #f6ed40;
    text-decoration: underline;
    text-decoration-color: rgba(246, 237, 64, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.doc-body a:hover {
    text-decoration-color: #f6ed40;
}

/* ---------- Footer ---------- */
.doc-footer {
    background: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 28px 0;
}

.doc-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .doc-nav__inner,
    .doc-container { padding: 0 16px; }
    .doc-main { padding: 48px 0 72px; }
    .doc-header { margin-bottom: 40px; padding-bottom: 32px; }
    .doc-body h2 { font-size: 16px; margin-top: 24px; }
}
