/* Shared public-page accessibility; loaded after page styles. */
:root { --color-text-secondary: #625574; --color-text-tertiary: #625574; }
:where(a, button, input, summary):focus-visible { outline: 3px solid #56389b; outline-offset: 4px; }
:where(.breadcrumb, .age-nav, .related-block, .related-reading, .links-block, .lp-footer) a,
.lp-footer__cookie-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
nav.breadcrumb { margin-bottom: 16px; color: #625574; }
nav.breadcrumb a, .article-body a, .related-reading a { color: #6346a3; }
.age-nav { gap: 8px; margin: 16px 0 24px; }
.age-nav__item { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; }
.age-nav__item--active, .age-nav__item:hover { color: #315c48; }
.age-page, .age-act-page, .hub-page, .health-page, .article-page { padding-top: 24px; }
.features-list { display: block; padding-left: 22px; margin: 24px 0; color: #625574; }
.features-list li { padding: 4px 0; line-height: 1.6; }
.hub-page .subtitle, .age-page .subtitle, .age-act-page .subtitle, .health-page .subtitle { margin-bottom: 16px; }
.age-badge, .age-card__badge, .article-cat { background: #e6dff6; color: #453160; }
.age-card__badge { background: #e3f5ec; color: #24684e; }
.age-card__link, .activity-card .meta, .related-block a { color: #24684e; }
.health-badge { background: #e4f0fc; color: #235e8b; }
.btn-primary { background: #6346a3; color: #fff; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.age-act-page .btn-primary, .hub-page .btn-primary { background: #24684e; }
.health-page .btn-primary { background: #235e8b; }
.links-block a { color: #235e8b; }
.health-page .steps li::before { background: #235e8b; }
.hub-page .step__num { background: #24684e; }
.page-action { margin: 0 0 20px; }
.page-action p { font-size: 14px; line-height: 1.5; color: #625574; margin: 10px 0 0; }
.health-example { background: #e4f0fc; border: 1px solid #b9d3eb; border-radius: 20px; padding: 20px; margin: 0 0 32px; }
.health-example figcaption { color: #385773; font-size: 13px; line-height: 1.5; }
.health-example h2 { font-size: 20px; margin: 12px 0; }
.health-example p { font-size: 15px; line-height: 1.6; margin: 8px 0 0; }
.article-next { background: #ece6f8; padding: 20px; border-radius: 20px; margin: 0 0 24px; }
.article-next h2 { font-size: 19px; line-height: 1.4; margin: 0 0 12px; }
.article-meta { margin-bottom: 20px; }
.related-reading { margin: 24px 0; }
.related-reading h2 { font-size: 22px; }
.article-body { overflow-wrap: anywhere; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; }
.activity-card, .age-card { overflow-wrap: anywhere; }
[id] { scroll-margin-top: 24px; }
@media (max-width: 600px) {
  .age-page, .age-act-page, .hub-page, .health-page, .article-page { padding: 16px 16px 48px; }
  .age-page h1, .age-act-page h1, .hub-page h1, .health-page h1 { font-size: 28px; line-height: 1.2; }
  .age-page .subtitle, .age-act-page .subtitle, .hub-page .subtitle, .health-page .subtitle { font-size: 16px; line-height: 1.5; }
  .age-badge { margin-bottom: 8px; }
  .age-nav { gap: 6px; margin: 12px 0 20px; }
  .age-nav__item { padding: 8px 12px; }
  .activity-card { padding: 20px; }
  .section-title { font-size: 21px; margin-bottom: 16px; }
  .article-body { padding: 20px 16px; }
  .cta-box, .how-it-works { padding: 24px 20px; }
}

.story-card__link { color: #6346a3; }
.article-body a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }

/* Shared consumers: story detail, catalog, blog hub, login and checkout. */
.public-header a { min-width: 44px; }
.age-filter, .story-more__age a, .back-link, .auth-legal a {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center;
}
.story-more__age a, .back-link, .blog-card__cat, .blog-card__link,
.auth-legal a, .pay-badge { color: #6346a3; }
.tg-open-btn, .auth-btn-primary, .pay-btn { background: #6346a3; }
.auth-phone-input { min-width: 0; min-height: 44px; }
