.guide-page {
    background: #f3f6fa;
    color: #152238;
}

.guide-page main {
    overflow: clip;
}

.guide-hero {
    padding: 135px 0 62px;
    background: radial-gradient(ellipse at 95% 0, #253e60 0, transparent 55%), #081326;
    color: #fff;
}

.guide-hero .container {
    max-width: 1120px;
}

.guide-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    color: #d1dbea;
    font-size: .88rem;
}

.guide-breadcrumbs a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.guide-hero h1 {
    max-width: 970px;
    margin: 16px 0 22px;
    font-size: clamp(2.1rem, 4.4vw, 3.55rem);
    line-height: 1.13;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.guide-hero p {
    max-width: 850px;
    margin: 0 0 20px;
    color: #d5deeb;
    font-size: 1.13rem;
    line-height: 1.75;
}

.guide-hero strong {
    color: #fff;
}

.guide-hero .guide-meta {
    margin: 25px 0 0;
    color: #b9c8db;
    font-size: .87rem;
}

.guide-layout {
    display: grid;
    gap: 26px;
    max-width: 1120px;
    padding-block: 40px 64px;
}

.guide-section {
    min-width: 0;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #dde5ef;
    border-radius: 18px;
    background: #fff;
    scroll-margin-top: 104px;
}

.guide-section h2 {
    margin: 0 0 20px;
    font-size: clamp(1.65rem, 2.7vw, 2.1rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.guide-section > .eyebrow {
    margin-bottom: 15px;
}

.guide-section h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
    line-height: 1.4;
}

.guide-section p,
.guide-section li {
    line-height: 1.8;
}

.guide-section p {
    margin: 0 0 18px;
    color: #4a5b71;
}

.guide-section p:last-child {
    margin-bottom: 0;
}

.guide-section a:not(.button) {
    color: #a6350b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guide-section code {
    padding: 2px 6px;
    border: 1px solid #dce4ee;
    border-radius: 5px;
    background: #f3f6fa;
    color: #253752;
    font-size: .93em;
    overflow-wrap: anywhere;
}

.guide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.guide-notice {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid #ef5b1c;
    border-radius: 0 12px 12px 0;
    background: #fff5ef;
}

.guide-notice > strong {
    display: block;
    margin-bottom: 8px;
}

.guide-layout > .guide-notice {
    margin: 0;
    padding: clamp(24px, 4vw, 40px);
}

.guide-layout > .guide-notice h2 {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.3;
}

.guide-layout > .guide-notice p {
    margin: 0 0 16px;
    color: #4a5b71;
    line-height: 1.8;
}

.guide-layout > .guide-notice p:last-child {
    margin-bottom: 0;
}

.guide-steps {
    margin: 26px 0 0;
    padding-left: 26px;
}

.guide-steps > li {
    padding: 0 0 24px 10px;
}

.guide-steps > li::marker {
    color: #bd3b08;
    font-weight: 800;
}

.guide-steps > li:last-child {
    padding-bottom: 0;
}

.guide-figure {
    max-width: 760px;
    margin: 34px auto 0;
}

.guide-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #cbd6e4;
    border-radius: 8px;
}

.guide-figure figcaption {
    margin-top: 14px;
    color: #5e6d82;
    font-size: .9rem;
    line-height: 1.65;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.guide-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid #dce4ee;
    border-radius: 13px;
    background: #f8fafc;
}

.guide-card ul {
    margin: 0;
    padding-left: 20px;
    color: #4a5b71;
}

.guide-card li + li {
    margin-top: 10px;
}

.guide-table-wrap {
    overflow-x: auto;
    margin: 26px 0;
    border: 1px solid #dce4ee;
    border-radius: 12px;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: .96rem;
    line-height: 1.65;
}

.guide-table caption {
    padding: 18px;
    background: #eef3f9;
    color: #253752;
    font-weight: 700;
    text-align: left;
}

.guide-table th,
.guide-table td {
    min-width: 150px;
    padding: 18px;
    border-bottom: 1px solid #dce4ee;
    vertical-align: top;
}

.guide-table thead th {
    background: #10213c;
    color: #fff;
}

.guide-table tbody th {
    width: 23%;
    background: #f8fafc;
}

.guide-table td {
    width: 38.5%;
    color: #4a5b71;
}

.guide-table tr:last-child > * {
    border-bottom: 0;
}

.guide-troubleshooting details {
    margin-top: 12px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
}

.guide-troubleshooting summary {
    padding: 18px 22px;
    color: #152238;
    font-weight: 700;
    line-height: 1.55;
    cursor: pointer;
}

.guide-troubleshooting details p {
    padding: 0 22px 20px;
}

.guide-next {
    background: #f8fafc;
}

.guide-section .guide-support {
    margin-top: 24px;
}

.guide-page .site-footer {
    padding: 20px 0;
}

.guide-page .footer-bottom {
    border-top: 0;
    padding-top: 0;
}

.guide-page .footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 760px) {
    .guide-hero {
        padding-top: 115px;
        padding-bottom: 42px;
    }

    .guide-hero p {
        font-size: 1.02rem;
    }

    .guide-layout {
        gap: 18px;
        padding-block: 22px 40px;
    }

    .guide-cards {
        grid-template-columns: 1fr;
    }

    .guide-card {
        padding: 22px;
    }

    .guide-notice {
        padding: 18px;
    }

    .guide-steps {
        padding-left: 20px;
    }

    .guide-steps > li {
        padding-left: 4px;
    }

    .guide-actions .button {
        width: 100%;
        text-align: center;
    }

    .guide-table th,
    .guide-table td {
        padding: 14px;
    }

    .guide-page .footer-bottom nav {
        justify-content: center;
    }
}
