:root {
    --accent-1: #5a3d68;
    --accent-2: #7a6a82;
    --accent-3: #b8a9b8;
    --base: #f3eef1;
    --text: #252225;
    --gradient: linear-gradient(135deg,
            var(--accent-1) 0%,
            var(--accent-2) 100%);

    --background-header: rgba(243, 238, 241, 0.9);
    --background-section: #ffffff;
    --background-code: #211c25;
    --background-code-header: #2b2430;
    --background-note: rgba(90, 61, 104, 0.06);
    --background-inline-code: rgba(90, 61, 104, 0.08);
    --background-footer: var(--accent-1);
    --background-copy-button: rgba(255, 255, 255, 0.08);
    --background-copy-button-hover: rgba(255, 255, 255, 0.16);

    --shadow-header: 0 1px 0 rgba(37, 34, 37, 0.08);
    --shadow-section: 0 1px 2px rgba(37, 34, 37, 0.04);
    --shadow-button: 0 6px 18px rgba(90, 61, 104, 0.22);
    --shadow-button-hover: 0 10px 24px rgba(90, 61, 104, 0.3);

    --border-soft: rgba(37, 34, 37, 0.1);
    --border-step: 1px solid var(--border-soft);
    --border-note: var(--accent-1);

    --text-header: var(--accent-1);
    --text-button: white;
    --text-footer: rgba(255, 255, 255, 0.85);
    --text-code: #f1eef2;
    --text-code-muted: #8a7f8f;
    --text-note-title: var(--accent-1);
    --text-page-subtitle: var(--accent-2);
    --text-step-title: var(--text);

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", "Segoe UI", Roboto, Oxygen, sans-serif;
    --font-mono: "JetBrains Mono", "Courier New", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--base);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header — shared with index.html */
header {
    background: var(--background-header);
    backdrop-filter: blur(10px);
    padding: 1.1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-header);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-header);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo img {
    height: 1.8rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1.5px;
    background: var(--accent-1);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--accent-1);
    color: var(--text-button);
    padding: 9px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.cta-button:hover {
    background: #4a3156;
    transform: translateY(-1px);
}

/* Page header */
.main-content {
    padding-top: 150px;
    padding-bottom: 80px;
}

.page-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 1rem;
}

.page-title {
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.75rem;
    letter-spacing: -0.01em;
    color: var(--text);
}

.page-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.15rem;
    color: var(--text-page-subtitle);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Download */
.download-section {
    text-align: center;
    margin: 3rem 0 4rem;
}

.download-section p {
    margin-top: 1rem;
    color: var(--accent-2);
    font-size: 0.95rem;
}

.download-btn {
    background: var(--accent-1);
    color: var(--text-button);
    padding: 15px 38px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-button);
}

.download-btn:hover {
    background: #4a3156;
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

/* Steps container */
.getting-started {
    background: var(--background-section);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-section);
}

.step {
    position: relative;
    margin-bottom: 2.75rem;
    padding-bottom: 2.75rem;
    border-bottom: var(--border-step);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-header {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-3);
    flex-shrink: 0;
    min-width: 2.4rem;
}

.step-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text-step-title);
}

.step-content {
    margin-left: 3.5rem;
}

.step-content h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    margin: 1.5rem 0 0.6rem;
    color: var(--text);
}

.step-description {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text);
}

/* Code blocks */
.code-block {
    background: var(--background-code);
    color: var(--text-code);
    border-radius: 10px;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.code-header {
    background: var(--background-code-header);
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-code-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.code-content {
    padding: 14px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-content code {
    display: block;
    white-space: pre;
    font-size: 0.9rem;
}

.copy-btn {
    background: var(--background-copy-button);
    color: var(--text-code);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--background-copy-button-hover);
}

.copy-btn.copied {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: white;
}

/* Note callout */
.note {
    background: var(--background-note);
    border-left: 3px solid var(--border-note);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.note-title {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-note-title);
}

.note p {
    color: var(--text);
    font-size: 0.95rem;
}

/* Lists */
.instruction-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.instruction-list li {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
}

.instruction-list code,
.step-content>p code {
    background: var(--background-inline-code);
    color: var(--accent-1);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* Next steps */
.next-steps {
    background: var(--background-section);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-section);
}

.next-steps-content {
    text-align: center;
}

.next-steps-content h2 {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--text-header);
}

.next-steps-content p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--accent-2);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer — shared with index.html */
footer {
    background: var(--background-footer);
    color: var(--text-footer);
    text-align: center;
    padding: 2.25rem 0;
}

footer p:first-child {
    font-weight: 500;
    color: white;
    margin-bottom: 0.25rem;
}

footer p:last-child {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .main-content {
        padding-top: 120px;
    }

    .page-title {
        font-size: 2.1rem;
    }

    .getting-started,
    .next-steps {
        padding: 2rem;
    }

    .step-content {
        margin-left: 0;
    }

    .code-header {
        padding: 6px 12px;
    }

    .code-content {
        padding: 12px;
    }

    .copy-btn {
        padding: 3px 8px;
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {

    .getting-started,
    .next-steps {
        padding: 1.5rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .code-content {
        padding: 10px;
        font-size: 0.85rem;
    }

    .download-btn {
        padding: 12px 26px;
        font-size: 1rem;
    }
}

