:root {
  color-scheme: light;
  --ink: #191528;
  --muted: #6f687e;
  --purple: #6d3df5;
  --purple-dark: #4c1d95;
  --soft: #f6f2ff;
  --line: #e9e2f4;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Manrope, system-ui, sans-serif; line-height: 1.72; }
a { color: inherit; }
.site-header, .footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { display: block; }
.site-nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-weight: 700; }
.site-nav a, .footer-links a { text-decoration: none; }
.nav-cta { padding: 10px 16px; border-radius: 999px; color: #fff; background: var(--ink); }
.guide-hero { padding: 72px 20px; background: linear-gradient(135deg, #f5edff, #c8adff); }
.guide-hero-inner, .article-layout { width: min(1120px, 100%); margin: 0 auto; }
.guide-hero h1 { max-width: 900px; margin: 0; font-family: Fredoka, Manrope, sans-serif; font-size: clamp(42px, 7vw, 74px); line-height: 1.02; }
.guide-hero p { max-width: 760px; margin: 22px 0 0; font-size: 19px; }
.eyebrow { margin: 0 0 12px; color: var(--purple-dark); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.content-wrap { padding: 64px 20px 88px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 56px; align-items: start; }
.article-card { min-width: 0; }
.article-meta { color: var(--muted); font-weight: 700; }
.article-card h2 { margin: 50px 0 14px; font-family: Fredoka, Manrope, sans-serif; font-size: clamp(29px, 4vw, 42px); line-height: 1.12; }
.article-card h3 { margin: 30px 0 8px; font-size: 23px; }
.article-card p, .article-card li { font-size: 17px; }
.article-card ul, .article-card ol { padding-left: 24px; }
.article-card a { color: var(--purple-dark); font-weight: 750; }
.callout { margin: 34px 0; padding: 24px; border: 1px solid #d8c9ff; border-radius: 20px; background: var(--soft); }
.callout strong { display: block; margin-bottom: 6px; }
.faq-item { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.faq-item h3, .faq-item p { margin-top: 0; }
.faq-item p { margin-bottom: 0; }
.toc { position: sticky; top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.toc h2 { margin: 0 0 14px; font-size: 21px; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-weight: 750; text-decoration: none; }
.site-footer { padding: 40px 0; color: #fff; background: var(--ink); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-inner p { margin-bottom: 0; color: #cfc8dc; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .site-nav { gap: 12px; font-size: 14px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-inner { flex-direction: column; }
}
