:root {
    --bg: #0b0805;
    --card: #171109;
    --gold: #d9a441;
    --gold-light: #f1c76a;
    --text: #eee8dc;
    --muted: #b8afa0;
    --border: rgba(217, 164, 65, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background:
        radial-gradient(circle at top center, rgba(217, 164, 65, 0.08), transparent 35%),
        var(--bg);
    color: var(--text);
    line-height: 1.75;
}

a {
    color: var(--gold-light);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(100% - 40px, 900px);
    margin: auto;
}

header {
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    background: rgba(11, 8, 5, 0.96);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold-light);
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.back-link {
    color: var(--muted);
    font-size: 14px;
}

.hero {
    text-align: center;
    padding: 70px 0 45px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--gold-light);
    font-size: clamp(36px, 6vw, 52px);
    font-weight: 500;
    margin-bottom: 14px;
}

.hero p {
    color: var(--muted);
    font-size: 15px;
}

.content {
    padding-bottom: 70px;
}

.section {
    background: linear-gradient(
        145deg,
        rgba(23, 17, 9, 0.95),
        rgba(15, 11, 7, 0.95)
    );
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 20px;
}

.section h2 {
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 14px;
}

.section h3 {
    color: #e8c477;
    font-size: 17px;
    font-weight: 600;
    margin: 22px 0 8px;
}

.section p {
    color: var(--muted);
    margin-bottom: 13px;
}

.section p:last-child {
    margin-bottom: 0;
}

.section ul,
.section ol {
    color: var(--muted);
    padding-left: 22px;
    margin: 10px 0 14px;
}

.section li {
    margin-bottom: 8px;
}

.highlight,
.warning {
    border-left: 3px solid var(--gold);
    padding: 16px 18px;
    margin: 18px 0;
    background: rgba(217, 164, 65, 0.06);
    color: var(--muted);
    border-radius: 0 8px 8px 0;
}

.warning strong {
    display: block;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0 !important;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 42px;
    margin-bottom: 18px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
    color: #8e8679;
    font-size: 13px;
}

footer a {
    margin: 0 8px;
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 900px);
    }

    header {
        padding: 20px 0;
    }

    .brand {
        font-size: 19px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .back-link {
        display: none;
    }

    .hero {
        padding: 50px 0 30px;
    }

    .section {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .section h2 {
        font-size: 21px;
    }
}