/* Secondary pages share the landing's typography, color tokens and navigation. */
.secondary-page { --code-bg: #edf1f7; --code-text: #2d4565; }
.secondary-page main { min-height: 65dvh; }
.secondary-page .site-footer { margin-top: 72px; }
.secondary-page a:not(.btn-primary, .nav-logo, .nav-cta, .blog-card, .footer-brand):focus-visible { border-radius: 3px; }
.secondary-page .back-link { display: inline-flex; color: var(--accent); font-size: 13px; margin-bottom: 32px; }
.secondary-page .nav-links .nav-cta { gap: 10px; display: inline-flex; align-items: center; justify-content: center; }
.secondary-page .site-footer a { text-decoration: none; }

.page-header { padding: 65px 0 45px; }
.page-header h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; margin-bottom: 20px; }
.page-header p { font-size: 16px; color: var(--grey-200); max-width: 520px; line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid var(--glass-border); border-radius: 16px; background: var(--surface); transition: border-color 200ms ease, box-shadow 200ms ease; }
.blog-card:first-child { grid-column: 1 / -1; padding: 38px; background: linear-gradient(135deg, #fff, #eef3ff); }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; color: var(--grey-300); font-size: 11px; }
.blog-card-category, .article-category { color: var(--accent); }
.blog-card h2 { color: var(--ink); font-size: 23px; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin-bottom: 16px; max-width: 38ch; }
.blog-card:first-child h2 { font-size: 31px; }
.blog-card p { font-size: 14px; line-height: 1.75; color: var(--grey-200); margin-bottom: 25px; max-width: 65ch; }
.blog-card-arrow { margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 500; }

.article-page.container, .legal-page.container { width: min(100% - 64px, 760px); padding-top: 48px; }
.article-header { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--glass-border); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; color: var(--grey-300); margin-bottom: 22px; }
.article-header h1, .legal-content h1 { font-size: clamp(34px, 4.3vw, 50px); line-height: 1.13; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
.article-body { color: #444b57; overflow-wrap: anywhere; }
.article-body p, .legal-content p { font-size: 15px; line-height: 1.9; margin-bottom: 20px; }
.article-body h2, .legal-content h2 { color: var(--ink); font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; margin: 44px 0 17px; }
.article-body h3 { color: var(--ink); font-size: 19px; font-weight: 500; line-height: 1.4; margin: 30px 0 14px; }
.article-body ul, .article-body ol, .legal-content ul, .legal-content ol { padding-left: 24px; margin: 18px 0 24px; }
.article-body li, .legal-content li { font-size: 15px; line-height: 1.85; padding-left: 4px; margin-bottom: 10px; }
.article-body strong, .legal-content strong { font-weight: 600; color: var(--ink); }
.article-body a, .legal-content a, .download-help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #315bb855; }
.article-body pre { max-width: 100%; overflow-x: auto; padding: 22px; border: 1px solid #dce3ef; border-radius: 12px; background: var(--code-bg); margin: 24px 0; }
.article-body code { font-family: var(--mono); font-size: .85em; color: var(--code-text); background: var(--code-bg); border-radius: 4px; padding: 2px 5px; }
.article-body pre code { font-size: 12px; line-height: 1.8; padding: 0; background: none; white-space: pre; overflow-wrap: normal; }
.article-body blockquote { margin: 28px 0; padding: 18px 24px; border-left: 3px solid #9bb3ec; border-radius: 0 10px 10px 0; background: #eef2fa; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { height: 1px; border: 0; background: var(--glass-border); margin: 36px 0; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; font-size: 13px; }
.article-body th, .article-body td { text-align: left; padding: 12px; border-bottom: 1px solid #dce1e9; line-height: 1.6; }
.article-body th { font-weight: 500; color: var(--ink); }
.legal-content { padding-top: 16px; color: #444b57; }
.legal-content .last-updated { font-size: 12px; color: var(--grey-300); margin: 18px 0 35px; }

.download-page.container { width: min(100% - 48px, 820px); }
.download-header { text-align: center; padding: 58px 0 52px; }
.download-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 24px; background: var(--accent-soft); color: var(--accent); font-size: 30px; line-height: 1; }
.download-eyebrow { font-size: 11px; color: var(--grey-300); margin-bottom: 24px; }
.download-header h1 { font-size: clamp(44px, 6vw, 68px); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; margin-bottom: 25px; }
.download-header h1 span { color: var(--accent); }
.download-subtitle { font-size: 15px; line-height: 1.75; color: var(--grey-200); margin-bottom: 25px; }
.download-again { min-height: 50px; padding-inline: 28px; font-size: 13px; }
.download-requirements { font-size: 10px; margin-top: 20px; color: var(--grey-300); }
.download-requirements span { margin-left: 15px; }
.download-page section { padding: 0; }
.install-section h2, .download-tutorial h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.035em; font-weight: 500; margin-bottom: 13px; }
.install-intro, .download-tutorial > p { color: var(--grey-200); font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
.install-steps { list-style: none; background: var(--surface); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; }
.install-steps > li { display: grid; grid-template-columns: 30px 1fr; gap: 22px; padding: 30px; }
.install-steps > li + li { border-top: 1px solid var(--glass-border); }
.install-number { display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent); background: var(--accent-soft); border: 1px solid #d1ddfa; font-family: var(--mono); font-size: 11px; border-radius: 50%; }
.install-steps h3 { font-size: 17px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.install-steps p { font-size: 14px; line-height: 1.8; color: var(--grey-200); }
.install-steps strong { color: var(--ink); font-weight: 500; }
.install-path { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 8px 12px; margin-top: 15px; border: 1px solid var(--glass-border); border-radius: 6px; font-family: var(--mono); font-size: 11px; color: #586474; background: #f4f6fa; }
.install-menubar { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; padding: 12px 15px; border: 1px solid var(--glass-border); background: #f5f7fb; border-radius: 8px; margin-top: 18px; font-size: 15px; }
.install-abc { padding: 3px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500; }
.install-menubar > span:last-child { font-size: 10px; color: var(--grey-300); margin-left: auto; }
.download-tutorial { margin-top: 58px; }
.video-wrapper { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; border: 1px solid var(--glass-border); background: #edf1f7; }
.video-wrapper iframe { display: block; width: 100%; height: 100%; border: 0; }
.download-help { text-align: center; margin-top: 30px; color: var(--grey-200); font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover { border-color: #b8c9ee; box-shadow: 0 6px 24px #315bb809; }
  .article-body a:hover, .legal-content a:hover, .download-help a:hover { text-decoration-color: currentColor; }
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-column: auto; padding: 26px; }
  .blog-card { padding: 26px; }
  .blog-card h2, .blog-card:first-child h2 { font-size: 23px; }
  .page-header { padding: 45px 0 30px; }
  .page-header p { font-size: 14px; }
  .article-page.container, .legal-page.container { width: calc(100% - 40px); padding-top: 35px; }
  .article-header h1 { font-size: 35px; }
  .article-body p, .article-body li, .legal-content p, .legal-content li { font-size: 14px; }
  .article-body pre { padding: 16px; }
  .article-body pre code { font-size: 11px; }
  .article-body h2, .legal-content h2 { font-size: 24px; }
  .download-header { padding: 38px 0 42px; }
  .download-header h1 { font-size: 48px; }
  .download-subtitle { font-size: 14px; }
  .install-steps > li { gap: 15px; padding: 24px 20px; }
  .install-steps p { font-size: 13px; }
  .install-menubar { gap: 12px; }
  .install-menubar > span:last-child { width: 100%; margin: 0; }
  .install-section h2, .download-tutorial h2 { font-size: 27px; }
}
@media (max-width: 380px) {
  .download-header h1 { font-size: 41px; }
  .blog-card-meta { flex-direction: column; align-items: flex-start; gap: 7px; }
}
