@font-face {
    font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/outfit-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/outfit-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/playfairdisplay-700.woff2') format('woff2');
}

.guide-page { background: var(--cream); color: var(--ink); }
.guide-header { background: linear-gradient(135deg, var(--granate-deep), var(--purple)); color: var(--white); }
.guide-header-inner,
.guide-footer { max-width: 980px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.guide-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.guide-brand img { display: block; object-fit: contain; }
.guide-back { color: var(--gold-light); font-weight: 600; }
.guide-back::before { content: '← '; }

.guide-shell { max-width: 860px; margin: 0 auto; padding: 34px 24px 80px; }
.guide-breadcrumb { display: flex; gap: 8px; color: var(--ink-light); font-size: 0.88rem; margin-bottom: 42px; }
.guide-breadcrumb a { color: var(--granate); text-decoration: underline; text-underline-offset: 3px; }
.guide-intro { margin-bottom: 42px; }
.guide-kicker { color: var(--granate); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; }
.guide-intro h1 { max-width: 780px; margin: 10px 0 20px; color: var(--granate-deep); font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08; }
.guide-lead { max-width: 760px; color: var(--ink-light); font-size: 1.2rem; line-height: 1.75; }
.guide-meta { margin-top: 18px; color: var(--ink-muted); font-size: 0.86rem; }

.guide-page article > section { padding: 12px 0 28px; }
.guide-page article h2,
.guide-summary h2 { margin: 24px 0 14px; color: var(--granate-deep); font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2rem); }
.guide-page article p,
.guide-page article li,
.guide-page article dd { color: var(--ink-light); font-size: 1.02rem; line-height: 1.78; }
.guide-page article p { margin-bottom: 16px; }
.guide-page article ul { margin: 0 0 18px 22px; }
.guide-page article li { margin-bottom: 8px; }
.guide-page code { background: var(--parchment); border-radius: 5px; padding: 2px 6px; color: var(--granate-deep); }

.guide-summary { margin-bottom: 34px; padding: 20px 28px 16px; border: 1px solid rgba(92,18,40,0.16); border-radius: 16px; background: var(--white); box-shadow: 0 10px 30px rgba(58,11,25,0.06); }
.guide-summary h2 { margin-top: 0; font-size: 1.35rem; }
.guide-table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid rgba(92,18,40,0.14); border-radius: 12px; background: var(--white); }
.guide-table-wrap:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.guide-page table { width: 100%; min-width: 760px; border-collapse: collapse; }
.guide-page caption { padding: 12px 16px; color: var(--ink-light); text-align: left; font-size: 0.85rem; }
.guide-page th,
.guide-page td { padding: 12px 14px; border-top: 1px solid rgba(92,18,40,0.1); text-align: left; white-space: nowrap; }
.guide-page th { color: var(--granate-deep); background: var(--parchment); }
.guide-note,
.guide-warning { margin: 22px 0; padding: 16px 20px; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; background: #fffaf0; color: var(--ink-light); line-height: 1.7; }
.guide-warning { border-left-color: var(--granate); background: #fdf3f0; }

.guide-status-list { display: grid; gap: 12px; margin: 22px 0; }
.guide-status-list div { padding: 16px 18px; border-radius: 10px; background: var(--white); border: 1px solid rgba(92,18,40,0.1); }
.guide-status-list dt { color: var(--granate-deep); font-weight: 700; margin-bottom: 3px; }
.guide-checklist { list-style: none; margin-left: 0 !important; }
.guide-checklist li { position: relative; padding-left: 28px; }
.guide-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--granate); font-weight: 700; }

.guide-cta { margin-top: 24px; padding: 30px !important; border-radius: 18px; background: linear-gradient(135deg, var(--granate-deep), var(--purple)); text-align: center; }
.guide-cta h2,
.guide-cta p { color: var(--white) !important; }
.guide-cta p { max-width: 640px; margin: 0 auto 22px !important; }
.guide-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.guide-button { display: inline-flex; padding: 13px 20px; border-radius: 9px; background: var(--gold); color: var(--granate-deep); font-weight: 700; }
.guide-button.secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); }

.guide-footer { padding-top: 30px; padding-bottom: 30px; border-top: 1px solid rgba(92,18,40,0.12); color: var(--ink-light); font-size: 0.86rem; }
.guide-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.guide-footer a { color: var(--granate); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
    .guide-header-inner,
    .guide-footer { padding-left: 16px; padding-right: 16px; }
    .guide-shell { padding: 28px 16px 60px; }
    .guide-header-inner,
    .guide-footer { align-items: flex-start; flex-direction: column; }
    .guide-back { font-size: 0.9rem; }
    .guide-intro h1 { font-size: 2.35rem; }
    .guide-lead { font-size: 1.06rem; }
    .guide-summary,
    .guide-cta { padding: 22px 18px !important; }
    .guide-button { width: 100%; justify-content: center; }
}
