.guide-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 22px 16px 56px;
}

.guide-header {
    background: rgba(30, 27, 75, 0.62);
    border: 1px solid rgba(129, 140, 248, 0.24);
    border-radius: 18px;
    padding: clamp(24px, 5vw, 48px);
    margin-bottom: 24px;
}

.guide-header .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.guide-header h1 {
    max-width: 760px;
    font-size: clamp(2rem, 6vw, 3.65rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #f8fafc;
}

.guide-header .dek {
    max-width: 720px;
    margin-top: 18px;
    color: #bac4d5;
    font-size: 1.04rem;
    line-height: 1.75;
}

.byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 22px;
    color: #94a3b8;
    font-size: 0.86rem;
}

.byline strong { color: #e2e8f0; }

.guide-nav {
    display: flex;
    align-items: center;
    gap: 10px 20px;
    flex-wrap: wrap;
}

.guide-nav a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.guide-nav a:hover,
.guide-nav a:focus-visible { text-decoration: underline; }

.guide-nav .brand {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

.guide-nav .brand img { height: 36px; }

.article-body {
    max-width: 760px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.82;
}

.article-body h2 {
    margin: 38px 0 14px;
    color: #f1f5f9;
    font-size: 1.55rem;
    line-height: 1.25;
}

.article-body h3 {
    margin: 26px 0 10px;
    color: #e2e8f0;
    font-size: 1.12rem;
}

.article-body p { margin-bottom: 18px; }

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
    padding-left: 8px;
}

.article-body li { margin-bottom: 10px; }

.article-body a { color: #a5b4fc; }
.article-body a:hover { color: #c4b5fd; }

.note,
.checklist,
.source-box {
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: 12px;
}

.note {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid #818cf8;
}

.checklist {
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.22);
}

.source-box {
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.note p:last-child,
.checklist p:last-child,
.source-box p:last-child,
.source-box ul:last-child { margin-bottom: 0; }

.quick-answer {
    margin-bottom: 28px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.17), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(129, 140, 248, 0.26);
    border-radius: 14px;
}

.quick-answer strong {
    display: block;
    margin-bottom: 6px;
    color: #c4b5fd;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.guide-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    background: rgba(30, 27, 75, 0.58);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 15px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover,
.guide-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(165, 180, 252, 0.7);
}

.guide-card .number {
    color: #818cf8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.guide-card h2 {
    margin: 18px 0 12px;
    color: #f1f5f9;
    font-size: 1.25rem;
    line-height: 1.3;
}

.guide-card p {
    color: #94a3b8;
    line-height: 1.65;
}

.guide-card .read {
    margin-top: auto;
    padding-top: 20px;
    color: #a5b4fc;
    font-size: 0.88rem;
    font-weight: 700;
}

.editorial-note {
    margin-top: 34px;
    padding: 22px;
    background: rgba(15, 23, 42, 0.58);
    border-radius: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

.related-guides {
    max-width: 760px;
    margin: 44px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(129, 140, 248, 0.22);
}

.related-guides h2 { margin-bottom: 14px; font-size: 1.15rem; }
.related-guides ul { display: grid; gap: 8px; margin-left: 20px; }
.related-guides a { color: #a5b4fc; }

.guide-footer nav { flex-wrap: wrap; }

@media (max-width: 700px) {
    .guide-grid { grid-template-columns: 1fr; }
    .guide-card { min-height: 0; }
    .guide-nav { justify-content: center; }
    .guide-nav .brand { width: 100%; justify-content: center; margin-right: 0; }
    .guide-header { padding: 26px 20px; }
    .article-body { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
    .guide-card { transition: none; }
}
