.stag-guide {
    --stag-ink: #19161d;
    --stag-muted: #645f69;
    --stag-purple: #765186;
    --stag-purple-dark: #51335e;
    --stag-purple-soft: #f3eef5;
    --stag-border: #e5dfe8;
    --stag-surface: #fbfafc;
    background: #fff;
    color: var(--stag-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.stag-guide *,
.stag-guide *::before,
.stag-guide *::after {
    box-sizing: border-box;
}

.stag-guide a:focus-visible,
.stag-guide summary:focus-visible {
    outline: 3px solid #bc8bd0;
    outline-offset: 4px;
}

.stag-guide-hero {
    overflow: hidden;
    position: relative;
    padding: 88px 0 70px;
    background:
        radial-gradient(circle at 85% 22%, rgba(255, 255, 255, .15), transparent 28%),
        linear-gradient(135deg, #18121c 0%, #35243e 58%, #765186 100%);
    color: #fff;
}

.stag-guide-hero::after {
    content: "";
    position: absolute;
    right: -105px;
    bottom: -205px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
}

.stag-guide-hero__inner {
    position: relative;
    z-index: 1;
}

.stag-guide-eyebrow,
.stag-guide-heading p,
.stag-guide-label {
    margin: 0 0 8px;
    color: var(--stag-purple);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stag-guide-eyebrow {
    color: #e1d2e7;
    text-transform: none;
}

.stag-guide-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}

.stag-guide-lead {
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
}

.stag-guide-intro {
    max-width: 690px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.stag-guide-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.stag-guide-nav a {
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    transition: background-color .2s ease, border-color .2s ease;
}

.stag-guide-nav a:hover,
.stag-guide-nav a:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.stag-guide-content {
    padding-bottom: 96px;
}

.stag-guide-section {
    scroll-margin-top: 104px;
    padding-top: 82px;
}

.stag-guide-section + .stag-guide-section {
    margin-top: 82px;
    border-top: 1px solid var(--stag-border);
}

.stag-guide-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.stag-guide-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    background: var(--stag-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.stag-guide-heading h2 {
    margin: 0;
    color: var(--stag-ink);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.stag-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stag-guide-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stag-guide-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--stag-border);
    border-radius: 20px;
    background: #fff;
    color: var(--stag-ink);
    box-shadow: 0 14px 40px rgba(45, 32, 51, .06);
}

.stag-guide-card--featured {
    border-color: transparent;
    background: var(--stag-purple-soft);
}

.stag-guide-card--wide {
    grid-column: 1 / -1;
}

.stag-guide-card h3,
.stag-guide-reset h3 {
    margin: 0 0 12px;
    color: var(--stag-ink);
    font-size: 23px;
    line-height: 1.3;
}

.stag-guide-card p {
    margin: 0;
    color: var(--stag-muted);
}

.stag-guide-card p + p,
.stag-guide-card__followup {
    margin-top: 16px;
}

.stag-guide-steps,
.stag-guide-list {
    margin: 16px 0 0;
    padding-left: 22px;
}

.stag-guide-steps li,
.stag-guide-list li {
    margin-bottom: 9px;
    padding-left: 4px;
}

.stag-guide-steps + p {
    margin-top: 18px;
}

.stag-guide-note,
.stag-guide-tip,
.stag-guide-warning {
    margin-bottom: 24px;
    padding: 22px 24px;
    border-left: 4px solid var(--stag-purple);
    border-radius: 0 14px 14px 0;
    background: var(--stag-purple-soft);
}

.stag-guide-tip {
    margin: 24px 0 0;
    border-left-color: #8b7893;
    background: var(--stag-surface);
}

.stag-guide-warning {
    margin: 24px 0 0;
    border-left-color: #a36c19;
    background: #fff7e8;
}

.stag-guide-warning--strong {
    margin: 0 0 24px;
}

.stag-guide-note strong,
.stag-guide-tip strong,
.stag-guide-warning strong {
    display: block;
    margin-bottom: 5px;
    color: var(--stag-ink);
}

.stag-guide-note p,
.stag-guide-tip p,
.stag-guide-warning p {
    margin: 0;
}

.stag-guide-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stag-guide-process li {
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid var(--stag-border);
    border-radius: 16px;
    background: #fff;
}

.stag-guide-process li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--stag-purple);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.stag-guide-process strong {
    display: block;
    margin-bottom: 6px;
}

.stag-guide-process p {
    margin: 0;
    color: var(--stag-muted);
    font-size: 14px;
}

.stag-guide-source {
    display: inline-block;
    margin-top: 22px;
    color: var(--stag-purple-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.stag-guide-reset {
    padding: 30px;
    border: 1px solid var(--stag-border);
    border-radius: 20px;
    background: #fff;
}

.stag-guide-reset__note {
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--stag-border);
    color: var(--stag-muted);
}

.stag-guide-card a {
    color: var(--stag-purple-dark);
    font-weight: 700;
    text-decoration: underline;
}

.stag-guide-faq {
    border-top: 1px solid var(--stag-border);
}

.stag-guide-faq details {
    border-bottom: 1px solid var(--stag-border);
}

.stag-guide-faq summary {
    position: relative;
    padding: 24px 48px 24px 0;
    color: var(--stag-ink);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

.stag-guide-faq summary::-webkit-details-marker {
    display: none;
}

.stag-guide-faq summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 4px;
    color: var(--stag-purple);
    font-size: 29px;
    font-weight: 400;
}

.stag-guide-faq details[open] summary::after {
    content: "\2212";
}

.stag-guide-faq details p {
    max-width: 850px;
    margin: -3px 0 24px;
    color: var(--stag-muted);
}

@media (max-width: 1000px) {
    .stag-guide-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stag-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .stag-guide {
        font-size: 15px;
    }

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

    .stag-guide-intro {
        font-size: 16px;
    }

    .stag-guide-nav {
        gap: 8px;
        margin-top: 28px;
    }

    .stag-guide-nav a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .stag-guide-section {
        padding-top: 62px;
    }

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

    .stag-guide-grid,
    .stag-guide-grid--two,
    .stag-guide-process {
        grid-template-columns: 1fr;
    }

    .stag-guide-heading {
        gap: 13px;
    }

    .stag-guide-heading > span {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .stag-guide-card,
    .stag-guide-reset {
        padding: 22px;
        border-radius: 16px;
    }

    .stag-guide-note,
    .stag-guide-tip,
    .stag-guide-warning {
        padding: 19px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stag-guide *,
    .stag-guide *::before,
    .stag-guide *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
