/* Shared footer; links are rendered into the HTML for both readers and crawlers. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
.site-footer { margin: 0 6px 6px; border: 1px solid #2c2c2b; border-radius: 13px; background: #141414; transition: margin-left .2s; }
.footer-inner { width: min(100%, 1080px); margin: auto; padding: 18px 32px 14px; }
.footer-top, .footer-brand, .footer-bottom { display: flex; align-items: center; }
.footer-top { justify-content: space-between; gap: 28px; }
.footer-brand { gap: 8px; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 22px; row-gap: 2px; }
.footer-links a { padding: 5px 0; font-size: 12px; line-height: 20px; color: #b7b7b7; }
.footer-links a:hover, .footer-links a[aria-current="page"], .footer-bottom a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #262626; padding-top: 10px; margin-top: 12px; justify-content: space-between; gap: 16px; color: #868686; font-size: 11px; line-height: 17px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { flex-shrink: 0; }
.sidebar-visible .site-footer { margin-left: 240px; }
.page-shell .inspiration { top: auto; bottom: 18px; }

/* Articles use the same restrained dark palette as the application. */
.guide-page { background: #111; color: #ddd; font-size: 16px; }
.skip-link { position: fixed; top: -70px; left: 16px; padding: 12px 20px; z-index: 100; background: #e5e5e5; color: #111; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.guide-header { border-bottom: 1px solid #2b2b2b; background: #111f; }
.guide-header-inner { max-width: 1160px; min-height: 76px; padding: 16px 40px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.guide-brand { display: inline-flex; align-items: center; gap: 10px; }
.guide-brand strong { font-size: 22px; letter-spacing: -.5px; }
.guide-brand > span { margin-left: 10px; padding-left: 20px; border-left: 1px solid #373737; color: #929292; font-size: 14px; }
.back-to-chat { display: inline-flex; align-items: center; gap: 24px; background: #242424; border: 1px solid #333; padding: 9px 14px; border-radius: 10px; font-size: 14px; }
.back-to-chat:hover { background: #303030; }
.guide-main { width: min(100% - 80px, 1080px); margin: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 29px 0 0; font-size: 13px; color: #838383; }
.breadcrumbs a:hover { color: #ddd; }
.breadcrumbs [aria-current] { color: #aaa; }
.article-hero { max-width: 920px; padding: 52px 0 42px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: #92b8f5; margin: 0 0 20px; }
.article-hero h1 { max-width: 900px; font-size: clamp(30px, 4vw, 49px); line-height: 1.16; letter-spacing: -.035em; font-weight: 600; margin: 0 0 24px; text-wrap: balance; color: #efefef; }
.article-lead { max-width: 820px; font-size: 18px; line-height: 1.7; color: #aaa; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #858585; font-size: 13px; margin-top: 26px; }
.article-cover { margin: 0 0 36px; }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2.4; object-fit: cover; border-radius: 16px; background: #202020; }
.article-cover figcaption { margin-top: 10px; color: #929292; font-size: 12px; line-height: 1.5; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; border-top: 1px solid #2d2d2d; padding-top: 40px; }
.article-toc { align-self: start; position: sticky; top: 30px; padding-top: 4px; }
.article-toc nav > p { margin: 0 0 18px; font-size: 13px; font-weight: 600; color: #ddd; }
.article-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid #333; }
.article-toc li { margin: 0; }
.article-toc a { display: block; font-size: 13px; line-height: 1.6; padding: 9px 0 9px 16px; color: #929292; border-left: 1px solid transparent; margin-left: -1px; }
.article-toc a:hover { color: #ddd; border-left-color: #aaa; }
.article-body { min-width: 0; }
.article-summary { background: #1b1c1e; border: 1px solid #353a43; border-radius: 16px; padding: 22px 26px; margin-bottom: 40px; }
.article-summary > span { color: #a6c5f5; font-size: 13px; font-weight: 500; }
.article-summary p { margin: 10px 0 0; line-height: 1.7; color: #c2c5ca; }
.article-section { margin-bottom: 44px; scroll-margin-top: 30px; }
.article-section h2, .article-sources h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.02em; font-weight: 550; color: #e4e4e4; margin: 0 0 18px; text-wrap: balance; }
.article-section p { line-height: 1.8; color: #b5b5b5; margin: 0 0 18px; }
.article-body a { color: #afcafa; text-decoration: underline; text-decoration-color: #52617a; text-underline-offset: 4px; }
.article-body a:hover { color: #d9e7ff; text-decoration-color: currentColor; }
.article-body strong { color: #dadada; font-weight: 600; }
.steps { margin: 16px 0 24px; padding-left: 24px; }
.steps li { padding-left: 8px; margin-bottom: 16px; color: #b5b5b5; line-height: 1.8; }
.steps li::marker { color: #999; font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid #333; border-radius: 12px; margin: 24px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.65; text-align: left; }
.table-wrap th { padding: 14px 18px; background: #202020; color: #d6d6d6; font-weight: 600; }
.table-wrap td { padding: 14px 18px; color: #aaa; vertical-align: top; border-top: 1px solid #2b2b2b; }
.table-wrap td:first-child { width: 38%; color: #c2c2c2; }
.prompt-box { border-radius: 14px; border: 1px solid #383838; background: #1a1a1a; overflow: hidden; margin: 24px 0; }
.prompt-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 20px; border-bottom: 1px solid #303030; font-size: 13px; color: #aaa; }
.copy-prompt { color: #ccc; border: 1px solid #454545; border-radius: 7px; padding: 6px 10px; font-size: 12px; }
.prompt-box > p { padding: 20px; font-size: 15px; line-height: 1.8; color: #c6c6c6; margin: 0; }
.faq details { border-bottom: 1px solid #303030; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 21px 30px 21px 0; line-height: 1.5; font-size: 16px; color: #d2d2d2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 19px; font-size: 22px; color: #999; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-bottom: 22px; font-size: 15px; }
.faq-item { border-bottom: 1px solid #303030; padding: 18px 0; }
.faq-item h3 { color: #d2d2d2; font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 15px; }
.article-sources { padding-top: 28px; border-top: 1px solid #303030; margin-bottom: 12px; }
.article-sources h2 { font-size: 16px; letter-spacing: 0; }
.article-sources ul { padding-left: 18px; color: #888; font-size: 14px; line-height: 1.8; }
.article-sources li { margin-bottom: 6px; }
.article-sources p { font-size: 13px; line-height: 1.7; color: #858585; }
.related-guides { margin: 64px 0; border-top: 1px solid #2c2c2c; padding-top: 34px; }
.related-heading .eyebrow { margin-bottom: 9px; }
.related-heading h2 { font-size: 26px; letter-spacing: -.02em; font-weight: 550; margin: 0 0 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { display: block; background: #181818; border: 1px solid #333; border-radius: 14px; overflow: hidden; transition: border-color .15s, background .15s; }
.related-card:hover { border-color: #555; background: #202020; }
.related-image { display: block; width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; }
.related-copy { padding: 18px 20px 20px; }
.related-copy > span { color: #858585; font-size: 12px; line-height: 1.5; }
.related-card h3 { font-size: 18px; font-weight: 500; line-height: 1.45; margin: 10px 0 0; color: #d6d6d6; }
.guide-page .site-footer { margin: 0; border-radius: 0; border-width: 1px 0 0; }
.guide-page .footer-inner { max-width: 1160px; }
.copy-status { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; background: #303030; border: 1px solid #484848; border-radius: 10px; font-size: 14px; z-index: 40; }
.copy-status:empty { display: none; }
@media (max-width: 960px) {
  .article-layout { gap: 30px; grid-template-columns: 175px minmax(0, 1fr); }
  .article-hero { padding-top: 36px; }
  .footer-links { column-gap: 24px; }
}
@media (max-width: 760px) {
  .site-footer, .sidebar-visible .site-footer { margin: 0; border-radius: 0; border-width: 1px 0 0; }
  .footer-inner { padding: 16px 20px 12px; }
  .footer-top { align-items: flex-start; gap: 18px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; flex: 1; }
  .footer-links a { font-size: 11px; line-height: 17px; padding: 4px 0; }
  .footer-bottom { display: block; }
  .footer-bottom > a { display: inline-block; margin-top: 4px; }
  .guide-header-inner { min-height: 68px; padding: 14px 20px; }
  .guide-brand > span { display: none; }
  .back-to-chat { font-size: 13px; gap: 12px; }
  .guide-main { width: calc(100% - 40px); }
  .breadcrumbs { font-size: 12px; padding-top: 22px; }
  .article-hero { padding: 32px 0; }
  .article-hero h1 { font-size: clamp(29px, 7.5vw, 42px); line-height: 1.2; }
  .article-lead { font-size: 16px; line-height: 1.8; }
  .article-meta { font-size: 12px; gap: 8px; line-height: 1.7; }
  .article-cover { margin-bottom: 26px; }
  .article-cover img { aspect-ratio: 1.5; border-radius: 12px; }
  .article-layout { display: block; padding-top: 24px; }
  .article-toc { position: static; margin-bottom: 28px; padding: 0; }
  .article-toc ol { display: grid; grid-template-columns: 1fr; }
  .article-toc a { padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
  .article-summary { padding: 20px; margin-bottom: 32px; }
  .article-section { margin-bottom: 34px; }
  .article-section h2 { font-size: 23px; }
  .article-section p, .steps li { font-size: 16px; }
  .table-wrap th, .table-wrap td { padding: 12px; font-size: 13px; }
  .prompt-heading { padding: 12px 16px; }
  .prompt-box > p { padding: 16px; font-size: 14px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-card { display: grid; grid-template-columns: 100px 1fr; align-items: center; }
  .related-image { height: 100%; min-height: 104px; aspect-ratio: auto; }
  .related-copy { padding: 16px; }
  .related-card h3 { font-size: 16px; }
  .related-guides { margin: 42px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Useful guide navigation remains below the original application view. */
.guide-hub { margin: 0 6px; padding: 42px 32px; border-top: 1px solid #292929; }
.hub-inner { max-width: 1016px; margin: auto; }
.guide-hub .eyebrow { margin-bottom: 12px; }
.guide-hub h2 { color: #eee; font-size: 28px; letter-spacing: -.02em; margin: 0 0 18px; }
.hub-intro { max-width: 840px; color: #b5b5b5; line-height: 1.8; font-size: 15px; }
.hub-intro a { color: #b5cff9; text-decoration: underline; text-underline-offset: 3px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 28px 0; }
.hub-grid a { display: block; padding-top: 15px; border-top: 1px solid #303030; }
.hub-grid h3 { font-size: 16px; font-weight: 550; margin: 0 0 9px; }
.hub-grid p { font-size: 13px; color: #aaa; line-height: 1.7; margin: 0; }
.hub-grid a:hover h3 { color: #b5cff9; }
.editorial-note { max-width: 840px; color: #999; font-size: 13px; line-height: 1.8; }
.editorial-note summary { cursor: pointer; }
.editorial-note p { margin-bottom: 0; }
.sidebar-visible .guide-hub { margin-left: 240px; }
.not-found { width: min(100% - 40px, 680px); min-height: 70vh; margin: auto; padding: 100px 0 60px; }
.not-found h1 { font-size: clamp(30px, 5vw, 48px); margin: 16px 0; }
.not-found p { line-height: 1.8; color: #aaa; }
.not-found .back-to-chat { margin-top: 20px; }
@media (max-width: 760px) {
  .guide-hub, .sidebar-visible .guide-hub { margin: 0; padding: 32px 20px; }
  .hub-grid { grid-template-columns: 1fr; gap: 20px; }
  .guide-hub h2 { font-size: 25px; }
}
