/*
 * Shared design layer for svetyashchayasya-karta.ru
 * Loaded after page-specific styles so typography and accessibility rules
 * stay consistent across current and future landing pages.
 */
:root{
  --site-paper:#f4f3ef;
  --site-white:#fff;
  --site-ink:#17181c;
  --site-muted:#696b73;
  --site-line:#d9d9d5;
  --site-blue:#2868ff;
  --site-orange:#ff7a00;
  --site-min-text:14px;
  --site-body-text:14px;
}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.site-page{font-size:var(--site-body-text)!important}
body.site-page button,body.site-page input,body.site-page select,body.site-page textarea{font:inherit}
body.site-page img{max-width:100%}
body.site-page :focus-visible{outline:3px solid rgba(40,104,255,.28);outline-offset:2px}

/* Shared lower limit for secondary and service copy on the aggregator. */
.page-home .crumb,.page-home .eyebrow,.page-home .meta-row,.page-home .stat small,
.page-home .side-title,.page-home .toc a,.page-home .toc i,.page-home .side-update,
.page-home .card-visual,.page-home .card-visual::after,.page-home .tag,.page-home .fact,
.page-home .product-actions a,.page-home .section-head p,.page-home .filter,
.page-home .table-note,.page-home .compare,.page-home .compare th,.page-home .compare strong,
.page-home .specs dt,.page-home .choose b,.page-home .choose p,.page-home .nav-cta,
.page-home .nav-track a,.page-home .nav-track a:not(.nav-cta),.page-home .lead{font-size:var(--site-min-text)!important}

/* The same lower limit for the T-Bank product landing. */
.page-tbank .sk-nav .nav-link,.page-tbank .sk-btn-cta,.page-tbank .sk-btn-outline,
.page-tbank .sk-hero .col-lg-6:first-child::before,.page-tbank .sk-pill,
.page-tbank .sk-card .sk-card-brand,.page-tbank .sk-card .sk-card-name,
.page-tbank .sk-eyebrow-free::before,.page-tbank .sk-text,.page-tbank .sk-feature .num,
.page-tbank .sk-feature p,.page-tbank .sk-bonus-badge,.page-tbank .sk-bonus-steps li,
.page-tbank .sk-bonus-steps li::before,.page-tbank .sk-bonus-note,
.page-tbank .sk-table th,.page-tbank .sk-table td,.page-tbank .sk-table thead th,
.page-tbank .sk-dl dt,.page-tbank .sk-dl dd,.page-tbank .sk-design-card p,
.page-tbank .sk-steps li::before,.page-tbank .sk-steps li strong,.page-tbank .sk-steps li span,
.page-tbank .sk-fit ul,.page-tbank details.sk-faq summary,.page-tbank details.sk-faq dd,
.page-tbank .sk-design-card h4,.page-tbank .sk-hero .lead,.page-tbank .sk-final p,
.page-tbank .sk-footer a,.page-tbank .sk-footer .sk-legal{
  font-size:var(--site-min-text)!important;
}

/* Product designs keep the physical bank-card ratio; never crop or squash them. */
.page-tbank .sk-design-swatch{
  width:100%;
  height:auto!important;
  aspect-ratio:1.586/1;
  background:#0c0c0e;
}
.page-tbank .sk-design-swatch img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.page-tbank .sk-design-swatch svg{
  width:32%;
  height:32%;
}

@media(max-width:720px){
  body.site-page{font-size:var(--site-body-text)!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
