:root {
    --guide-green: #063f2d;
    --guide-green-dark: #02291e;
    --guide-gold: #d6a92f;
    --guide-gold-light: #f7edcd;
    --guide-cream: #f8f5ec;
    --guide-white: #ffffff;
    --guide-text: #263c34;
    --guide-muted: #6d7d76;
    --guide-border: rgba(6, 63, 45, 0.12);
    --guide-shadow: 0 14px 40px rgba(4, 48, 35, 0.08);
}

html {
    scroll-behavior: smooth;
}

.guide-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.guide-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 84px;
    background:
        radial-gradient(circle at 12% 20%, rgba(214, 169, 47, 0.2), transparent 28%),
        linear-gradient(135deg, var(--guide-green-dark), var(--guide-green));
    color: var(--guide-white);
    text-align: center;
}

.guide-hero::before,
.guide-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.guide-hero::before {
    top: -180px;
    right: -80px;
}

.guide-hero::after {
    bottom: -210px;
    left: -70px;
}

.guide-hero .guide-container {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.guide-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 18px;
    border: 1px solid rgba(214, 169, 47, 0.45);
    border-radius: 999px;
    background: rgba(214, 169, 47, 0.1);
    color: #f6d878;
    font-weight: 700;
}

.guide-hero h1 {
    margin: 0;
    color: var(--guide-white);
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.15;
}

.guide-hero h2 {
    margin: 15px 0 0;
    color: #f5d673;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
}

.guide-hero p {
    max-width: 760px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 2;
}

.guide-start {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 13px 24px;
    border-radius: 10px;
    background: var(--guide-gold);
    color: var(--guide-green-dark);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.guide-start:hover {
    background: #e4bd4d;
    transform: translateY(-2px);
}

.guide-navigation {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid var(--guide-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 24px rgba(4, 48, 35, 0.06);
    backdrop-filter: blur(12px);
}

.guide-navigation-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 13px;
    scrollbar-width: thin;
}

.guide-navigation a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--guide-border);
    border-radius: 9px;
    color: var(--guide-green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.guide-navigation a span {
    color: #a87c0d;
}

.guide-navigation a:hover {
    border-color: var(--guide-gold);
    background: var(--guide-gold-light);
}

.guide-main {
    padding: 65px 0 85px;
    background: var(--guide-cream);
}

.guide-section {
    padding: 36px;
    scroll-margin-top: 95px;
    border: 1px solid var(--guide-border);
    border-radius: 24px;
    background: var(--guide-white);
    box-shadow: var(--guide-shadow);
}

.guide-section + .guide-section {
    margin-top: 32px;
}

.guide-section-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--guide-border);
}

.guide-section-number {
    display: grid;
    flex: 0 0 66px;
    height: 66px;
    place-items: center;
    border-radius: 18px;
    background: var(--guide-green);
    color: #f6d878;
    font-size: 20px;
    font-weight: 800;
}

.guide-section-header h2 {
    margin: 0 0 5px;
    color: var(--guide-green-dark);
    font-size: clamp(25px, 3vw, 34px);
}

.guide-section-header p {
    margin: 0;
    color: var(--guide-muted);
    line-height: 1.8;
}

.guide-note {
    margin-bottom: 24px;
    padding: 17px 20px;
    border-right: 4px solid var(--guide-gold);
    border-radius: 10px 0 0 10px;
    background: var(--guide-gold-light);
    color: #5b4818;
    font-weight: 700;
    line-height: 1.9;
}

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

.guide-card {
    position: relative;
    padding: 23px 24px 22px;
    border: 1px solid var(--guide-border);
    border-radius: 15px;
    background: #fcfdfc;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-card::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 0;
    width: 4px;
    height: 28px;
    border-radius: 4px 0 0 4px;
    background: var(--guide-gold);
}

.guide-card:hover {
    border-color: rgba(214, 169, 47, 0.55);
    box-shadow: 0 12px 25px rgba(4, 48, 35, 0.07);
    transform: translateY(-3px);
}

.guide-card h3,
.guide-card h4 {
    margin: 0 0 10px;
    color: var(--guide-green);
    font-size: 19px;
}

.guide-card p {
    margin: 0;
    color: var(--guide-text);
    font-size: 15.5px;
    line-height: 2;
}

.guide-card ul {
    margin: 14px 0 0;
    padding: 0 22px 0 0;
}

.guide-card li {
    margin-top: 7px;
    color: var(--guide-text);
    line-height: 1.8;
}

.guide-card li::marker {
    color: var(--guide-gold);
}

.guide-subgroup + .guide-subgroup {
    margin-top: 30px;
}

.guide-subgroup > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--guide-green-dark);
    font-size: 22px;
}

.guide-subgroup > h3::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 5px;
    background: var(--guide-gold);
}

.guide-back-top {
    display: block;
    width: max-content;
    margin: 25px 0 0 auto;
    color: #8d6a0c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.guide-final-callout {
    margin-top: 38px;
    padding: 48px 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--guide-green-dark), var(--guide-green));
    color: var(--guide-white);
    text-align: center;
    box-shadow: var(--guide-shadow);
}

.guide-final-callout > span {
    color: #f3d26a;
    font-weight: 800;
}

.guide-final-callout h2 {
    margin: 10px 0;
    color: var(--guide-white);
    font-size: clamp(25px, 4vw, 38px);
}

.guide-final-callout p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
}

.guide-final-callout a {
    display: inline-flex;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 9px;
    background: var(--guide-gold);
    color: var(--guide-green-dark);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 760px) {
    .guide-container {
        width: min(100% - 26px, 1180px);
    }

    .guide-hero {
        padding: 62px 0 58px;
    }

    .guide-hero p {
        font-size: 16px;
        line-height: 1.9;
    }

    .guide-navigation-inner {
        width: 100%;
        padding-inline: 13px;
    }

    .guide-main {
        padding: 35px 0 55px;
    }

    .guide-section {
        padding: 23px 16px;
        border-radius: 18px;
    }

    .guide-section-header {
        align-items: flex-start;
        gap: 13px;
    }

    .guide-section-number {
        flex-basis: 51px;
        height: 51px;
        border-radius: 13px;
        font-size: 16px;
    }

    .guide-section-header p {
        font-size: 14px;
    }

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

    .guide-card {
        padding: 20px 18px;
    }

    .guide-card p {
        font-size: 15px;
    }

    .guide-final-callout {
        padding: 38px 18px;
        border-radius: 18px;
    }
}

@media print {
    .site-header,
    .site-footer,
    .guide-navigation,
    .guide-start,
    .guide-back-top,
    .journey-back-wrapper {
        display: none !important;
    }

    .guide-hero,
    .guide-final-callout {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .guide-hero h1,
    .guide-hero h2,
    .guide-hero p,
    .guide-final-callout h2,
    .guide-final-callout p {
        color: #000000 !important;
    }

    .guide-section,
    .guide-card,
    .guide-final-callout {
        break-inside: avoid;
        box-shadow: none;
    }
}
