:root {
    --bg: #0d1210;
    --surface: #141b17;
    --surface-light: #1b251f;
    --green: #173f31;
    --green-light: #245b47;
    --gold: #c8a45d;
    --gold-light: #e0c789;
    --cream: #f3eee4;
    --text: #e9ece9;
    --muted: #aeb8b1;
    --border: rgba(200, 164, 93, 0.22);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(36, 91, 71, 0.18), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

/* Navigation */

.navbar {
    border-bottom: 1px solid var(--border);
    background: rgba(13, 18, 16, 0.92);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}

.nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand span {
    color: var(--gold);
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
}

.nav-link:hover {
    color: var(--gold-light);
}

/* Hero */

.hero {
    padding: 110px 0 90px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: none;
    margin: 0;
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 5vw, 5.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
    white-space: nowrap;
}
}

.hero-subtitle {
    max-width: 720px;
    margin: 32px 0 0;
    color: var(--muted);
    font-size: 1.18rem;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tag {
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(200, 164, 93, 0.06);
    font-size: 0.82rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--gold);
    color: #121713;
}

.button-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.button-secondary {
    border: 1px solid var(--border);
    color: var(--cream);
}

.button-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* Sections */

.section {
    padding: 80px 0;
    border-top: 1px solid rgba(200, 164, 93, 0.12);
}

.section-label {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section h2 {
    margin: 0 0 28px;
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
}

.lead {
    max-width: 820px;
    color: var(--muted);
    font-size: 1.1rem;
}

/* Cards */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(
        145deg,
        rgba(27, 37, 31, 0.9),
        rgba(20, 27, 23, 0.85)
    );
}

.card-number {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.card h3 {
    margin: 12px 0 8px;
    color: var(--cream);
    font-size: 1.05rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

/* Workflow */

.workflow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.workflow-step {
    position: relative;
    padding: 24px 18px;
    border-top: 2px solid var(--gold);
    background: var(--surface);
}

.workflow-step strong {
    display: block;
    margin-bottom: 7px;
    color: var(--cream);
}

.workflow-step span {
    color: var(--muted);
    font-size: 0.88rem;
}

/* PDF */

.pdf-shell {
    margin-top: 38px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.pdf-viewer {
    display: block;
    width: 100%;
    height: 82vh;
    min-height: 700px;
    border: 0;
    border-radius: 7px;
    background: #ffffff;
}

.pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

/* Footer */

.footer {
    padding: 42px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Responsive */

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .workflow {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0 65px;
    }
    .hero h1 {
        white-space: normal;
    }
    .pdf-viewer {
        height: 70vh;
        min-height: 520px;
    }
}

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

    .nav-inner {
        min-height: 62px;
    }

    .hero {
        padding: 62px 0 55px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 58px 0;
    }

    .actions,
    .pdf-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .pdf-viewer {
        min-height: 480px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
    }
}
