:root {
    --a21-ink: #081321;
    --a21-muted: #526577;
    --a21-line: #d8e6ee;
    --a21-paper: #f7fafc;
    --a21-cyan: #18b9dc;
    --a21-violet: #5b45df;
    --a21-lime: #a9dc3c;
}

.a21-skip-link {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    width: 1px;
    height: 1px;
    padding: 1rem 1.4rem;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    color: #07111f;
    background: #fff;
    border-radius: 999px;
}

.a21-skip-link:focus {
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
}

.a21-hero {
    max-width: 1320px;
}

.a21-hero .gh-article-title {
    max-width: 17ch;
    font-size: clamp(4rem, 6vw, 7.4rem);
}

.a21-private-state {
    width: fit-content;
    margin-top: 2rem;
    padding: 0.8rem 1.2rem;
    color: #d9e9f4;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px;
    font-size: 1.35rem;
}

.a21-hero-figure {
    margin: clamp(3rem, 6vw, 5.2rem) 0 0;
}

.a21-hero-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #07111f;
    border: 1px solid rgb(125 231 255 / 0.28);
    border-radius: 22px;
    box-shadow: 0 24px 64px rgb(0 0 0 / 0.28);
}

.a21-hero-figure figcaption {
    margin-top: 1rem;
    color: #b9ccdc;
    font-size: 1.35rem;
    line-height: 1.5;
}

.a21-shell {
    align-items: start;
}

.a21-reading-rail {
    position: sticky;
    top: 2rem;
}

.a21-review-note {
    margin-top: 1.6rem;
    color: var(--a21-muted);
    font-size: 1.35rem;
    line-height: 1.5;
}

.a21-answer-card,
.article21-ghost-body .a21-short-version {
    padding: clamp(2.4rem, 5vw, 4rem);
    color: var(--a21-ink);
    background: linear-gradient(135deg, #e8fbff, #f2efff 68%, #fff8e7);
    border: 1px solid #cfe9f1;
    border-radius: 24px;
    box-shadow: 0 16px 46px rgb(7 17 31 / 0.08);
}

.a21-answer-card h2 {
    margin: 0.8rem 0 1.2rem;
    color: var(--a21-ink);
    font-size: clamp(2.8rem, 3vw, 4rem);
    line-height: 1.08;
}

.a21-answer-card p,
.article21-ghost-body .a21-short-version p {
    margin: 0;
}

.article21-ghost-body {
    color: var(--a21-ink);
    font-size: clamp(1.7rem, 0.4vw + 1.55rem, 1.9rem);
    line-height: 1.7;
}

.article21-ghost-body > * + * {
    margin-top: 2rem;
}

.article21-ghost-body .a21-short-version {
    margin-top: 2.4rem;
    border-left: 1px solid #cfe9f1;
}

.article21-ghost-body .a21-short-version strong {
    display: block;
    margin-bottom: 1rem;
    color: var(--a21-violet);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article21-ghost-body .a21-short-version ul {
    margin: 0;
}

.article21-ghost-body .a21-section {
    margin-top: clamp(5.4rem, 8vw, 8.4rem);
}

.article21-ghost-body .a21-section > h2 {
    margin: 0 0 2rem;
    color: var(--a21-ink);
    font-size: clamp(3rem, 2.1vw + 2.1rem, 4.4rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.article21-ghost-body .a21-section > h2::before {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--a21-violet);
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.a21-section-why-a-generic-intake-form-can-hurt-the-conversation > h2::before { content: "Why it matters"; }
.a21-section-the-lead-information-decision-map > h2::before { content: "Use the map"; }
.a21-section-six-questions-you-may-or-may-not-use > h2::before { content: "Choose carefully"; }
.a21-section-three-conditional-examples > h2::before { content: "See the logic"; }
.a21-section-keep-ordinary-intake-away-from-sensitive-information > h2::before { content: "Protect the person"; }
.a21-section-design-for-real-conversations-not-perfect-ones > h2::before { content: "Design for reality"; }
.a21-section-test-the-map-before-changing-live-intake > h2::before { content: "Test safely"; }
.a21-section-frequently-asked-questions > h2::before { content: "Common questions"; }
.a21-section-start-with-one-lead-type > h2::before { content: "Next step"; }

.article21-ghost-body .a21-section > * + * {
    margin-top: 1.7rem;
}

.article21-ghost-body h3 {
    margin-top: 3.6rem;
    color: var(--a21-ink);
    font-size: clamp(2.1rem, 1.4vw + 1.7rem, 2.8rem);
    line-height: 1.2;
}

.article21-ghost-body a {
    color: #4030bd;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgb(24 185 220 / 0.7);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22em;
}

.article21-ghost-body a:focus-visible,
.a21-reading-rail a:focus-visible,
.a21-table-region:focus-visible {
    outline: 3px solid var(--a21-cyan);
    outline-offset: 4px;
}

.article21-ghost-body blockquote {
    padding: 2rem 2.2rem;
    color: #253b4d;
    background: var(--a21-paper);
    border-left: 4px solid var(--a21-cyan);
    border-radius: 0 16px 16px 0;
}

.article21-ghost-body blockquote p {
    margin: 0.85rem 0;
}

.a21-table-help {
    margin-bottom: 1rem;
    color: var(--a21-muted);
    font-size: 1.4rem;
}

.a21-table-region {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--a21-line);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgb(7 17 31 / 0.07);
    -webkit-overflow-scrolling: touch;
}

.article21-ghost-body table {
    width: 100%;
    min-width: 1120px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.article21-ghost-body th,
.article21-ghost-body td {
    min-width: 150px;
    padding: 1.4rem;
    border: 0;
    border-bottom: 1px solid var(--a21-line);
    vertical-align: top;
    text-align: left;
}

.article21-ghost-body thead th {
    color: #fff;
    background: #081321;
    font-size: 1.35rem;
}

.article21-ghost-body tbody tr:nth-child(even) {
    background: var(--a21-paper);
}

.article21-ghost-body tbody tr:last-child > * {
    border-bottom: 0;
}

.article21-ghost-body .a21-question-list > ol,
.article21-ghost-body .a21-tests > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    padding: 0;
    list-style: none;
}

.article21-ghost-body .a21-question-list > ol {
    counter-reset: questions;
}

.article21-ghost-body .a21-question-list > ol > li,
.article21-ghost-body .a21-tests > ul > li {
    padding: 1.8rem;
    background: #fff;
    border: 1px solid var(--a21-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgb(7 17 31 / 0.05);
}

.article21-ghost-body .a21-question-list > ol > li {
    counter-increment: questions;
}

.article21-ghost-body .a21-question-list > ol > li::before {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--a21-violet);
    content: "0" counter(questions);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 800;
}

.article21-ghost-body .a21-examples h3,
.article21-ghost-body .a21-faq h3 {
    padding: 1.7rem 1.9rem;
    background: #fff;
    border: 1px solid var(--a21-line);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 12px 30px rgb(7 17 31 / 0.05);
}

.article21-ghost-body .a21-examples h3 + p,
.article21-ghost-body .a21-faq h3 + p {
    margin-top: 0;
    padding: 0 1.9rem 1.8rem;
    color: var(--a21-muted);
    background: #fff;
    border: 1px solid var(--a21-line);
    border-top: 0;
    border-radius: 0 0 16px 16px;
}

.article21-ghost-body .a21-caution {
    padding: clamp(2.4rem, 5vw, 4rem);
    background: linear-gradient(135deg, #fff8e7, #fff, #f2efff);
    border: 1px solid #eadcae;
    border-radius: 24px;
}

.article21-ghost-body .a21-next-step {
    padding: clamp(2.4rem, 5vw, 4rem);
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgb(119 92 255 / 0.38), transparent 34%),
        radial-gradient(circle at 10% 90%, rgb(34 201 239 / 0.24), transparent 38%),
        #07111f;
    border: 1px solid rgb(125 231 255 / 0.2);
    border-radius: 24px;
    box-shadow: 0 22px 64px rgb(7 17 31 / 0.2);
}

.article21-ghost-body .a21-next-step > h2,
.article21-ghost-body .a21-next-step > p,
.article21-ghost-body .a21-next-step > p > em,
.article21-ghost-body .a21-next-step > p > strong {
    color: #fff;
}

.article21-ghost-body .a21-next-step > h2::before {
    color: #7de7ff;
}

.article21-ghost-body .a21-next-step a {
    color: #baf4ff;
    text-decoration-color: #a9dc3c;
}

@media (max-width: 900px) {
    .a21-reading-rail {
        position: static;
    }
}

@media (max-width: 600px) {
    .a21-hero {
        margin-inline: 1.2rem;
        padding: 2.4rem 1.8rem;
        border-radius: 20px;
    }

    .a21-hero .gh-article-title {
        font-size: clamp(3.5rem, 11vw, 5rem);
    }

    .a21-hero-figure img {
        border-radius: 16px;
    }

    .article21-ghost-body .a21-section > h2 {
        font-size: clamp(2.8rem, 9vw, 3.7rem);
    }

    .article21-ghost-body .a21-question-list > ol,
    .article21-ghost-body .a21-tests > ul {
        grid-template-columns: 1fr;
    }

    .article21-ghost-body .a21-caution,
    .article21-ghost-body .a21-next-step,
    .a21-answer-card,
    .article21-ghost-body .a21-short-version {
        padding: 2.2rem 1.8rem;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .a21-article * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .a21-reading-rail,
    .a21-private-state,
    .a21-skip-link {
        display: none !important;
    }

    .a21-hero {
        color: #000;
        background: #fff;
        border: 0;
        box-shadow: none;
    }

    .a21-hero .gh-article-title,
    .a21-hero .gh-article-excerpt,
    .a21-hero-figure figcaption {
        color: #000;
    }
}
