.page-intro { max-width: 860px; }
.page-intro-wide { max-width: 760px; }
.page-intro .lead { margin-top: 18px; }
.section-header { max-width: 760px; }
.section-header .section-copy { margin-top: 14px; }
.cta-panel { padding: 30px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92)); color: #fff; }
.cta-panel h2, .cta-panel p { color: inherit; }
.blog-hero, .resource-hero { padding-bottom: 24px; }
.resource-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.legal-layout { max-width: 860px; }
.page-hero { padding: 88px 0 32px; }
.page-hero-soft { background: linear-gradient(180deg, rgba(239, 244, 241, 0.8), rgba(247, 245, 241, 0)); }
.section { padding: 72px 0; }
.section-tinted { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.resource-grid, .cards-grid, .contact-grid, .two-column-layout { display: grid; gap: 20px; }
.resource-grid, .cards-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid { margin-top: 26px; }
.resource-card, .feature-card, .guide-card, .aside-card, .profile-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: 24px; }
.resource-card-muted { background: rgba(255, 255, 255, 0.55); }
.resource-intro { max-width: 820px; }
.guide-card h2 { max-width: 18ch; }
.guide-card p { max-width: 38ch; }
.guide-card-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.guide-card-actions .text-link { margin-top: 0; }
.resource-card h2, .feature-card h3 { max-width: 18ch; }
.resource-card p, .feature-card p { max-width: 46ch; }
.resource-grid .resource-card:nth-child(4) { grid-column: span 3; }
.resource-grid .resource-card:nth-child(4) h2,
.resource-grid .resource-card:nth-child(4) p { max-width: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); }
.article-page { padding: 56px 0 88px; }
.article-shell { max-width: 980px; margin: 0 auto; }
.article-header { max-width: 780px; margin: 0 auto; }
.article-header h1 { max-width: 14ch; }
.article-header .lead, .article-dek { margin-top: 20px; max-width: 42ch; font-size: 20px; line-height: 1.65; color: var(--muted); }
.article-meta-row { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; font-size: 13px; color: #78716c; }
.article-body { max-width: 780px; margin: 38px auto 0; color: var(--muted); font-size: 19px; line-height: 1.78; }
.article-body > * + * { margin-top: 18px; }
.article-body h2, .article-body h3 { color: var(--text); letter-spacing: -0.03em; }
.article-body h2 { margin-top: 48px; font-size: clamp(30px, 3vw, 38px); line-height: 1.08; }
.article-body h3 { margin-top: 34px; font-size: 24px; line-height: 1.18; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote { max-width: 42em; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 10px; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body blockquote { margin: 34px 0; padding: 18px 0 18px 22px; border-left: 3px solid #cbd5e1; color: var(--text); font-size: 20px; line-height: 1.7; }
.article-support { max-width: 780px; margin: 56px auto 0; }
.support-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.78); box-shadow: var(--shadow); padding: 28px; }
.support-card h2 { font-size: clamp(28px, 3vw, 34px); line-height: 1.1; margin-top: 8px; }
.support-card p { margin-top: 14px; max-width: 42ch; color: var(--muted); }
.resource-article-page { padding: 56px 0 88px; }
.resource-article-hero { max-width: 980px; margin: 0 auto; }
.resource-article-shell { max-width: 780px; margin: 0 auto; }
.resource-article-category { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #78716c; }
.resource-article-title { margin: 0; max-width: 14ch; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 0.98; letter-spacing: -0.03em; }
.resource-article-subtitle { margin-top: 20px; max-width: 42ch; font-size: clamp(1.2rem, 2vw, 1.35rem); line-height: 1.65; color: var(--muted); }
.resource-article-body { max-width: 760px; margin: 38px auto 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.resource-article-body > * + * { margin-top: 1rem; }
.resource-article-body h2, .resource-article-section h2 { margin-top: 48px; margin-bottom: 14px; color: var(--text); font-size: 2rem; line-height: 1.08; letter-spacing: -0.03em; }
.resource-article-body h3 { margin-top: 34px; margin-bottom: 12px; color: var(--text); font-size: 1.5rem; line-height: 1.18; }
.resource-article-body p, .resource-article-body ul, .resource-article-body ol, .resource-article-body blockquote { max-width: 42em; }
.resource-article-body ul, .resource-article-body ol { padding-left: 24px; }
.resource-article-body li + li { margin-top: 10px; }
.resource-article-closing { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.resource-article-closing p { font-size: 18px; line-height: 1.75; }
.guide-highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.guide-highlight-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.82); padding: 22px; box-shadow: var(--shadow); }
.guide-highlight-card h2, .guide-highlight-card h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.25; color: var(--text); }
.guide-highlight-card p { margin: 0; color: var(--muted); }
.guide-steps { counter-reset: guide-step; list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.guide-steps li { position: relative; padding: 20px 20px 20px 72px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.84); box-shadow: var(--shadow); }
.guide-steps li::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--text); color: #fff; font-size: 0.95rem; font-weight: 700; }
.guide-steps h3 { margin: 0 0 8px; color: var(--text); font-size: 1.15rem; line-height: 1.25; }
.guide-steps p { margin: 0; }
.guide-download-panel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 24px; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(239, 244, 241, 0.95), rgba(247, 245, 241, 0.9)); }
.guide-download-panel p { margin: 0; max-width: 44ch; }
.guide-download-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media print {
  .site-header,
  .site-footer,
  .guide-download-panel { display: none !important; }

  .resource-article-page { padding: 0; }
  .resource-article-hero,
  .resource-article-shell { max-width: none; }
  .resource-article-body { max-width: none; margin-top: 24px; font-size: 13pt; line-height: 1.55; color: #222; }
  .resource-article-body h2,
  .resource-article-section h2 { page-break-after: avoid; }
  .guide-highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-highlight-card,
  .guide-steps li { break-inside: avoid; box-shadow: none; }
}
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr); gap: 28px; }
.faq-intro { max-width: 360px; }
.two-column-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-card p + p { margin-top: 12px; }
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-card { padding: 24px; }
.contact-card .button { margin-top: 18px; width: auto; }
.legal-copy { max-width: 860px; }
.legal-copy > * + * { margin-top: 16px; }
.legal-copy h2 { margin-top: 28px; font-size: 28px; }
.not-found-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 0; }
.not-found-shell { max-width: 680px; text-align: center; }
.not-found-shell .brand { justify-content: center; margin-bottom: 24px; }
.not-found-shell p { max-width: 520px; margin: 14px auto 0; color: var(--muted); }
@media (max-width: 1024px) {
  .resource-grid, .cards-grid-three, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid .resource-card:nth-child(4) { grid-column: span 2; }
  .guide-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .faq-layout, .two-column-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding-top: 64px; }
  .section { padding: 56px 0; }
  .resource-grid, .cards-grid-three, .contact-grid { grid-template-columns: 1fr; }
  .resource-grid .resource-card:nth-child(4) { grid-column: auto; }
  .article-page { padding: 44px 0 72px; }
  .article-header .lead, .article-dek { font-size: 17px; line-height: 1.7; }
  .article-body { margin-top: 30px; font-size: 17px; line-height: 1.72; }
  .article-body h2 { margin-top: 40px; }
  .article-body blockquote { font-size: 18px; padding-left: 18px; }
  .support-card { padding: 22px; }
  .resource-article-page { padding: 44px 0 72px; }
  .resource-article-body { margin-top: 30px; font-size: 17px; line-height: 1.72; }
  .resource-article-body h2, .resource-article-section h2 { margin-top: 40px; }
  .guide-highlight-grid { grid-template-columns: 1fr; }
  .guide-steps li { padding-left: 20px; }
  .guide-steps li::before { position: static; margin-bottom: 14px; }
}
