/* ------------------------------------------------------------------
   CONTRIBUTE PAGE STYLES
   ------------------------------------------------------------------ */

.guide-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5vw 8rem 5vw;
}

.guide-header {
    text-align: center;
    padding: 8rem 0 4rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.guide-header .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.guide-section {
    margin-bottom: 6rem;
}

.guide-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Step Cards */
.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.step-number {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Checklist Grid */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1.2rem;
    background: var(--line-subtle);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checklist-item i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Code Styles */
code {
    font-family: var(--font-mono);
    background: var(--tag-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--accent);
}

pre {
    background: var(--card-hover);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0 0 0;
    border: 1px solid var(--border-subtle);
}

pre code {
    background: none;
    padding: 0;
    color: var(--text-main);
    font-size: 0.85em;
}

/* Button override */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-main);
    color: var(--bg-color);
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 500;
    transition: opacity 0.2s, transform 0.2s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--line-subtle);
    margin: 6rem 0;
}