﻿@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
    --gold: #C9892A;
    --gold-light: #F5D78E;
    --dark: #1A1F2E;
    --mid: #3A4055;
    --muted: #8A90A0;
    --bg: #F7F5F0;
    --white: #FFFFFF;
}

.guide-wrapper {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    padding: 40px 20px 60px;
}

/* Header */
.guide-header {
    text-align: center;
    margin-bottom: 52px;
}

    .guide-header .eyebrow {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 10px;
    }

    .guide-header h1 {
        font-family: 'Lora', serif;
        font-size: clamp(24px, 4vw, 38px);
        font-weight: 600;
        color: var(--dark);
        margin: 0 0 12px;
        line-height: 1.2;
    }

    .guide-header p {
        font-size: 14px;
        color: var(--muted);
        max-width: 480px;
        margin: 0 auto;
        line-height: 1.6;
    }

/* Phase label */
.phase-label {
    max-width: 740px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .phase-label .phase-pill {
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 4px 14px;
        border-radius: 20px;
        background: #D1FAE5;
        color: #065F46;
        white-space: nowrap;
    }

    .phase-label .phase-line {
        flex: 1;
        height: 1px;
        background: rgba(201,137,42,0.2);
    }

/* Timeline */
.timeline {
    max-width: 740px;
    margin: 0 auto 36px;
    position: relative;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 19px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--gold-light), transparent);
    }

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.35s forwards;
}

    /* stagger all items up to 16 */
    .timeline-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .timeline-item:nth-child(2) {
        animation-delay: 0.10s;
    }

    .timeline-item:nth-child(3) {
        animation-delay: 0.15s;
    }

    .timeline-item:nth-child(4) {
        animation-delay: 0.20s;
    }

    .timeline-item:nth-child(5) {
        animation-delay: 0.25s;
    }

    .timeline-item:nth-child(6) {
        animation-delay: 0.30s;
    }

    .timeline-item:nth-child(7) {
        animation-delay: 0.35s;
    }

    .timeline-item:nth-child(8) {
        animation-delay: 0.40s;
    }

    .timeline-item:nth-child(9) {
        animation-delay: 0.45s;
    }

    .timeline-item:nth-child(10) {
        animation-delay: 0.50s;
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-bubble {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--gold);
    position: relative;
    z-index: 1;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(201,137,42,0.10);
}

.step-card {
    flex: 1;
    background: var(--white);
    border-radius: 11px;
    padding: 15px 20px;
    border: 1px solid rgba(201,137,42,0.10);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .step-card:hover {
        box-shadow: 0 4px 14px rgba(201,137,42,0.12);
        border-color: rgba(201,137,42,0.25);
    }

.step-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.step-card h3 {
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.step-tag {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    margin-top: 1px;
}

.tag-setup {
    background: #EDE9FE;
    color: #5B21B6;
}

.tag-profile {
    background: #DBEAFE;
    color: #1D4ED8;
}

.tag-form {
    background: #FEF3C7;
    color: #92400E;
}

.tag-medical {
    background: #ECFDF5;
    color: #065F46;
}

.tag-action {
    background: #FEE2E2;
    color: #991B1B;
}

.tag-submit {
    background: #F3F4F6;
    color: #374151;
}

.download-cta {
    max-width: 740px;
    margin: 8px auto 0;
    background: #D1FAE5;
    border-radius: 12px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.download-cta-text .label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #065F46;
    margin-bottom: 4px;
}

.download-cta-text h4 {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #065F46;
    margin: 0;
    font-weight: 500;
}

.download-cta-text p {
    font-size: 12px;
    color: #34795A;
    margin: 4px 0 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

    .download-btn:hover {
        background: #B5791E;
        transform: translateY(-1px);
        color: var(--white);
        text-decoration: none;
    }

/* Note */
.note-strip {
    max-width: 740px;
    margin: 10px auto 0;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 12.5px;
    color: #78350F;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

    .note-strip i {
        margin-top: 1px;
        flex-shrink: 0;
    }

@media (max-width: 600px) {
    .timeline::before {
        left: 18px;
    }

    .download-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
