:root {
  --guide-navy: #071426;
  --guide-violet: #583e94;
  --guide-blue: #1974c8;
  --guide-gold: #f6c94c;
  --guide-text: #17324d;
  --guide-muted: #52677d;
  --guide-line: #dfe7ef;
  --guide-soft: #f7f7ff;
}
.guide-page { color: var(--guide-text); background: #fff; }
.guide-page h1, .guide-page h2, .guide-page h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: 0; }
.guide-container { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.guide-breadcrumb { padding: 1rem 0; color: var(--guide-muted); font-size: .9rem; }
.guide-breadcrumb a, .guide-prose a { color: var(--guide-violet); }
.guide-hero { padding: clamp(3.5rem, 7vw, 6.5rem) 0 3.5rem; color: #fff; background: linear-gradient(135deg, #583e94 0%, #6f559d 52%, #245d88 100%); }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.guide-eyebrow { margin: 0 0 1rem; color: var(--guide-gold); text-transform: uppercase; font-weight: 700; font-size: .85rem; }
.guide-hero h1 { margin: 0 0 1rem; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.04; }
.guide-deck { max-width: 770px; color: #eef3f8; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.65; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.4rem; color: #eef3f8; font-size: .9rem; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.guide-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .75rem 1.1rem; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-weight: 600; }
.guide-button-primary { color: var(--guide-violet); background: var(--guide-gold); }
.guide-button-secondary { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.guide-figure { margin: 0; overflow: hidden; border: 2px solid rgba(255,255,255,.38); border-radius: 8px; background: #fff; box-shadow: 0 18px 42px rgba(30,22,60,.24); }
.guide-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; object-position: center; background: #fff; }
.guide-figure figcaption { padding: .75rem 1rem; color: var(--guide-muted); background: #fff; font-size: .82rem; line-height: 1.5; }
.guide-summary { padding: 2.5rem 0; background: var(--guide-soft); border-bottom: 1px solid var(--guide-line); }
.guide-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.guide-summary-item { padding-left: 1rem; border-left: 4px solid var(--guide-violet); }
.guide-summary-item strong { display: block; color: var(--guide-navy); }
.guide-summary-item span { display: block; margin-top: .35rem; color: var(--guide-muted); line-height: 1.55; }
.guide-layout { display: grid; grid-template-columns: 245px minmax(0, 820px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: 3rem 0 5rem; }
.guide-toc { position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto; padding-right: .75rem; }
.guide-toc h2 { margin: 0 0 .8rem; color: var(--guide-navy); font-size: 1rem; }
.guide-toc ol { margin: 0; padding-left: 1.2rem; }
.guide-toc li { margin: .38rem 0; color: var(--guide-muted); font-size: .82rem; line-height: 1.35; }
.guide-toc a { color: inherit; text-decoration: none; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: var(--guide-violet); text-decoration: underline; }
.guide-prose { min-width: 0; }
.guide-section { scroll-margin-top: 94px; padding: 1.2rem 0 3.25rem; border-bottom: 1px solid var(--guide-line); }
.guide-section:last-child { border-bottom: 0; }
.guide-section h2 { margin: 0 0 1rem; color: var(--guide-navy); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.guide-section h3 { margin: 2rem 0 .65rem; color: var(--guide-violet); font-size: 1.25rem; }
.guide-section p, .guide-section li { color: var(--guide-muted); font-size: 1.02rem; line-height: 1.82; }
.guide-section li { margin: .4rem 0; }
.guide-note { margin: 1.4rem 0; padding: 1.2rem 1.35rem; border-left: 5px solid var(--guide-gold); background: #fffbea; }
.guide-note strong { color: var(--guide-navy); }
.guide-table-wrap { margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--guide-line); border-radius: 8px; }
.guide-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }
.guide-table th, .guide-table td { padding: .85rem .95rem; border-bottom: 1px solid var(--guide-line); text-align: left; vertical-align: top; line-height: 1.55; }
.guide-table th { color: var(--guide-violet); background: #f1eef9; }
.guide-table td { color: var(--guide-muted); }
.guide-inline-figure { margin: 2rem 0; border: 1px solid var(--guide-line); box-shadow: none; }
.guide-checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; padding: 0; list-style: none; }
.guide-checklist li { padding: 1rem; border: 1px solid var(--guide-line); border-left: 4px solid var(--guide-blue); border-radius: 7px; background: #fff; }
.guide-card { display: flex; min-height: 220px; padding: 1.5rem; flex-direction: column; border: 1px solid #d8dfea; border-top: 5px solid var(--guide-violet); border-radius: 8px; background: #fff; color: var(--guide-text); text-decoration: none; box-shadow: 0 10px 28px rgba(7,20,38,.08); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.guide-card:hover, .guide-card:focus-visible { border-color: var(--guide-violet); color: var(--guide-text); text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(88,62,148,.16); }
.guide-card:focus-visible { outline: 3px solid rgba(25,116,200,.3); outline-offset: 3px; }
.guide-card__type { color: var(--guide-violet); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.guide-card h3 { margin: .65rem 0; color: var(--guide-navy); font-size: 1.45rem; line-height: 1.2; }
.guide-card p { margin: 0; color: var(--guide-muted); line-height: 1.65; }
.guide-card__action { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.25rem; color: var(--guide-violet); font-weight: 700; }
.guide-card__action::after { content: '→'; font-size: 1.15rem; }
.guide-coming { min-height: 220px; padding: 1.5rem; border: 1px solid var(--guide-line); border-radius: 8px; background: var(--guide-soft); }
.guide-coming strong { display: block; color: var(--guide-navy); }
.guide-coming span { display: block; margin-top: .65rem; color: var(--guide-muted); line-height: 1.65; }
.guide-sources { font-size: .92rem; }
.guide-sources li { margin-bottom: .65rem; }
.guide-author { display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 2rem; padding: 1.35rem; border: 1px solid var(--guide-line); border-radius: 8px; background: var(--guide-soft); }
.guide-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.guide-author h3 { margin: 0 0 .35rem; color: var(--guide-navy); }
.guide-author p { margin: .25rem 0; font-size: .94rem; }
.guide-faq { display: grid; gap: .75rem; }
.guide-faq details { padding: 1rem 1.15rem; border: 1px solid var(--guide-line); border-radius: 8px; background: #fff; }
.guide-faq summary { cursor: pointer; color: var(--guide-navy); font-weight: 700; }
.guide-faq summary h3 { display: inline; margin: 0; color: inherit; font-size: 1rem; }
.guide-cta { padding: 2rem; border-left: 5px solid var(--guide-gold); border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--guide-violet), #765ba5); }
.guide-cta h2 { color: #fff; }
.guide-cta p { color: #f5f2fb; }
@media (max-width: 980px) {
  .guide-hero-grid, .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; max-height: none; padding: 1rem; border: 1px solid var(--guide-line); border-radius: 8px; background: var(--guide-soft); }
  .guide-summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .guide-container { width: min(100% - 1.25rem, 1200px); }
  .guide-summary-grid, .guide-checklist { grid-template-columns: 1fr; }
  .guide-actions { flex-direction: column; }
  .guide-button { width: 100%; }
  .guide-author { grid-template-columns: 1fr; }
}
