.deep-guide {
    --guide-ink: #172b3b;
    --guide-muted: #455d6c;
    --guide-line: #d9e0de;
    --guide-paper: #fffefa;
    --guide-accent: #854821;
    --guide-tint: #eff3ef;
    display: grid;
    gap: clamp(26px, 4vw, 48px);
    margin: 28px 0 36px;
    color: var(--guide-ink);
}

.deep-guide p { max-width: 72ch; margin: 0 0 .75em; line-height: 1.65; }
.deep-guide p:last-child { margin-bottom: 0; }
.deep-guide h2, .deep-guide h3 { margin: 0 0 .55em; line-height: 1.18; }
.deep-guide h2 { font-size: clamp(23px, 3vw, 33px); }
.deep-guide h3 { font-size: 18px; }
.deep-guide a { color: #194b64; text-decoration: underline; text-underline-offset: .17em; }
.deep-guide a:focus-visible, .deep-guide summary:focus-visible {
    outline: 2px solid #31617b;
    outline-offset: 4px;
}

.deep-guide__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(16px, 3vw, 28px);
    align-items: start;
}

.deep-guide__answer, .deep-guide__example {
    padding: clamp(18px, 3vw, 30px);
    border-radius: 18px;
    border: 1px solid var(--guide-line);
    background: var(--guide-tint);
}

.deep-guide__kicker {
    color: var(--guide-accent);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: 12px;
    font-weight: 750;
}

.deep-guide__photo { margin: 0; min-width: 0; }
.deep-guide__photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: var(--guide-tint);
}
.deep-guide__photo figcaption { margin: 8px 2px 0; color: var(--guide-muted); font-size: 13px; line-height: 1.45; }

.deep-guide__steps, .deep-guide__choices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.deep-guide__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deep-guide__steps li, .deep-guide__choices li {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
    background: var(--guide-paper);
}
.deep-guide__steps p, .deep-guide__choices p { color: var(--guide-muted); font-size: 15px; }
.deep-guide__icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    margin-bottom: 12px;
    color: var(--guide-accent);
    background: #f5e8dc;
}
.deep-guide__icon svg { width: 21px; height: 21px; }

.deep-guide__toc {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    border-block: 1px solid var(--guide-line);
    padding-block: 12px;
}
.deep-guide__toc strong { margin-right: 4px; }
.deep-guide__content { max-width: 78ch; scroll-margin-top: 20px; }
.deep-guide__example blockquote { margin: 0; border-left: 3px solid #ba7849; padding-left: 14px; line-height: 1.65; }
.deep-guide__checklist, .deep-guide__links { margin: 0; padding-inline-start: 1.3em; }
.deep-guide__checklist li, .deep-guide__links li { margin: .45em 0; line-height: 1.5; }

.deep-guide__faq details { padding: 13px 0; border-bottom: 1px solid var(--guide-line); }
.deep-guide__faq summary { cursor: pointer; font-weight: 700; line-height: 1.45; }
.deep-guide__faq details p { margin: 9px 0 2px; }
.deep-guide__references { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }

@media (max-width: 720px) {
    .deep-guide__intro, .deep-guide__references, .deep-guide__choices { grid-template-columns: minmax(0, 1fr); }
    .deep-guide__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 359px) {
    .deep-guide__steps { grid-template-columns: minmax(0, 1fr); }
}
