.guide {
    --guide-gold: #ffdc66;
    --guide-copy: #cfddf8;
}

.guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    min-height: var(--site-hero-min-height);
    overflow: hidden;
    border: 1px solid #7094f55c;
    border-radius: 20px;
    background: #071245;
}

.guide-hero-visual {
    position: relative;
    grid-area: 1 / 1 / 2 / -1;
    justify-self: end;
    /* Fit the original image within the hero without cropping it. */
    width: min(72%, calc((var(--site-hero-min-height) - 2px) * 1672 / 941));
}

.guide-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.guide-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #071245 0%, #071245dc 12%, #07124530 40%, transparent 62%),
        linear-gradient(0deg, #071245 0%, #07124520 9%, transparent 22%),
        linear-gradient(180deg, #07124580 0%, transparent 14%);
    pointer-events: none;
}

.guide-hero-content {
    position: relative;
    grid-area: 1 / 1 / 2 / 2;
    padding: 36px 0 36px clamp(24px, 5vw, 64px);
}

.guide-eyebrow {
    margin: 0 0 10px;
    color: var(--guide-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guide-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.guide-intro {
    max-width: 36ch;
    margin: 0 0 24px;
    color: #e4edff;
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.65;
}

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

.guide .guide-step,
.guide .guide-faq {
    min-width: 0;
    padding: clamp(20px, 3.5vw, 34px);
}

.guide .guide-step {
    display: flex;
    flex-direction: column;
}

.guide-step-number {
    margin-bottom: 12px;
    color: var(--guide-gold);
    font-family: var(--font-numeric);
    font-size: clamp(21px, 2.8vw, 28px);
    font-weight: 800;
    line-height: 1;
}

.guide .guide-step h2,
.guide .guide-faq h2 {
    margin: 0 0 12px;
    color: #f3f6ff;
    font-size: clamp(21px, 2.6vw, 27px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.guide-step p,
.guide-faq p {
    margin: 0 0 12px;
    color: var(--guide-copy);
    font-size: 15px;
    line-height: 1.7;
}

.guide-step p:last-child,
.guide-faq p:last-child {
    margin-bottom: 0;
}

.guide-step strong,
.guide-faq strong {
    color: #fff;
}

.guide-step .guide-note {
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid #8faeff55;
    border-inline-start: 3px solid var(--guide-gold);
    border-radius: 0 8px 8px 0;
    background: rgba(167, 193, 255, .16);
    color: #f0f4ff;
}

.guide-faq h3 {
    margin: 18px 0 5px;
    color: #a9c5ff;
    font-size: 16px;
}

.guide-step a,
.guide-faq a {
    color: #c4d8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 760px) {
    .guide-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .guide-hero-visual {
        grid-area: auto;
        width: 100%;
    }

    .guide-hero-visual::after {
        background: linear-gradient(0deg, #071245, transparent 18%);
    }

    .guide-hero-content {
        grid-area: auto;
        padding: 8px 24px 28px;
    }

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