.guide-page {
    background: #f5f7fa;
    color: #1f2937;
}

.guide-hero {
    padding: 56px 0 44px;
    background: linear-gradient(135deg, #111827, #243247);
    color: #fff;
}

.guide-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 44px;
    align-items: end;
}

.guide-kicker,
.guide-sidebar span {
    display: block;
    margin-bottom: 10px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.guide-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.12;
}

.guide-hero p {
    max-width: 800px;
    margin: 0;
    color: #dbe4f0;
    font-size: 17px;
    line-height: 1.75;
}

.guide-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.guide-quick-links a {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 64px;
    align-items: start;
}

.guide-content {
    display: grid;
    gap: 20px;
}

.guide-section,
.guide-help,
.guide-sidebar > div {
    border: 1px solid #e1e6ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15,23,42,.05);
}

.guide-section {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 28px;
    scroll-margin-top: 24px;
}

.guide-step {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.guide-section h2,
.guide-help h2,
.guide-sidebar h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 24px;
    line-height: 1.35;
}

.guide-section p,
.guide-section li,
.guide-help li {
    font-size: 15px;
    line-height: 1.75;
}

.guide-section p {
    margin: 0 0 14px;
}

.guide-section ol,
.guide-help ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.guide-section li + li,
.guide-help li + li {
    margin-top: 7px;
}

.guide-section a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.guide-section code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #eef2f7;
    font-family: inherit;
    font-size: .92em;
}

.guide-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    background: #eff6ff;
    line-height: 1.65;
}

.guide-help {
    padding: 28px;
    background: #fffdf5;
    border-color: #eadfb9;
}

.guide-sidebar {
    position: sticky;
    top: 20px;
}

.guide-sidebar > div {
    padding: 22px;
}

.guide-sidebar a {
    display: block;
    margin-top: 8px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
}

.guide-sidebar a:hover {
    background: #111827;
    color: #fff;
}

@media (max-width: 900px) {
    .guide-hero-inner,
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .guide-hero {
        padding: 38px 0 32px;
    }

    .guide-hero p {
        font-size: 15px;
    }

    .guide-quick-links {
        grid-template-columns: 1fr;
    }

    .guide-layout {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .guide-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .guide-section h2,
    .guide-help h2 {
        font-size: 21px;
    }

    .guide-help {
        padding: 20px;
    }
}
