.guide-main {
    padding: 120px 24px 100px;
    max-width: 960px;
    margin: 0 auto;
}

.guide-main-narrow {
    max-width: 720px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current="page"] {
    color: var(--heading);
    font-weight: 500;
}

.breadcrumb--yellow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 14px;
    margin-bottom: 28px;
    background: var(--accent-yellow);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
}
.breadcrumb--yellow a {
    color: var(--ink);
    font-weight: 600;
}
.breadcrumb--yellow a:hover {
    color: var(--yellow-ink);
}
.breadcrumb--yellow span[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
}

.guide-main h1,
.guide-main .section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--heading);
}

.guide-article-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 8px solid var(--accent-yellow);
}
.guide-article-header h1 {
    margin-bottom: 0;
}
.guide-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: var(--accent-yellow);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-pill);
    font-family: var(--font-cute);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.3;
}

.guide-main h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--text);
}

.guide-steps {
    list-style: none;
    margin: 8px 0 32px;
    padding: 0;
    display: grid;
    gap: 28px;
}
.guide-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}
.guide-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--accent-yellow);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    flex-shrink: 0;
}
.guide-step-body h2 {
    margin-top: 4px;
    margin-bottom: 10px;
}
.guide-step-body ul {
    margin-bottom: 0;
}

.guide-intro,
.guide-main p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.guide-intro {
    margin-bottom: 48px;
}

.guide-main ul {
    margin: 0 0 16px 1.5em;
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
}

.guide-main a:not(.btn):not(.feature-card):not(.guide-link-pill):not(.guide-hub-card) {
    color: var(--primary);
    text-decoration: none;
}
.guide-main a:not(.btn):not(.feature-card):not(.guide-link-pill):not(.guide-hub-card):hover {
    text-decoration: underline;
}
.guide-main a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.guide-link-pill,
.guide-intro a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent-light);
    color: var(--lavender-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.guide-link-pill:hover,
.guide-intro a:hover {
    background: var(--lilac-mid);
    box-shadow: var(--shadow-md);
    color: var(--ink);
    transform: translate(-1px, -1px);
    text-decoration: none;
}

.guide-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guide-hub-card {
    display: block;
    text-align: left;
    padding: 32px 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-md);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    text-decoration: none;
    color: inherit;
}
.guide-hub-card--yellow {
    background: var(--accent-yellow);
}
.guide-hub-card--lilac {
    background: var(--lilac-mid);
}
.guide-hub-card--sage {
    background: var(--sage);
}
.guide-hub-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-lg);
}
.guide-hub-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.guide-hub-card:active {
    transform: translate(2px, 2px);
    box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
    .guide-hub-card:hover,
    .guide-hub-card:active {
        transform: none;
    }
}
.guide-hub-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ink);
}
.guide-hub-card p {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.65;
    margin-bottom: 0;
    opacity: 0.85;
}

.guide-cta {
    margin-top: 40px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--text-muted);
}

.guide-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

@media (max-width: 767px) {
    .guide-main { padding: 96px 20px 80px; }
    .guide-hub-grid { grid-template-columns: 1fr; }
    .guide-step {
        gap: 12px;
    }
    .guide-step-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .guide-cta-row .btn {
        width: 100%;
    }
}
