/* V14 — shared geometry. Theme colors live in separately activated design files. */
.header .nav-wrap{gap:16px}
.header .nav{gap:clamp(12px,1.2vw,22px)}
.header .desktop-nav a{font-size:14px;white-space:nowrap}
.header .brand-sub{font-size:10px;letter-spacing:.12em}
.header .brand-name{font-size:15px;letter-spacing:.16em}
.header .brand-symbol{width:38px;height:38px}
.language-picker{position:relative;flex-shrink:0;z-index:10}
.language-trigger{display:flex;align-items:center;justify-content:center;gap:6px;min-width:58px;height:44px;padding:0 9px;font:650 13px/1 system-ui;letter-spacing:.02em;border:1px solid var(--edge);border-radius:10px;background:var(--card);color:var(--ink);cursor:pointer}
.language-trigger svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .15s}
.language-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
.language-options{position:absolute;top:calc(100% + 10px);right:0;min-width:180px;padding:6px;border:1px solid var(--edge);border-radius:12px;background:var(--card);box-shadow:var(--menu-shadow)}
.language-options[hidden]{display:none}
.language-options button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:var(--copy);font:500 15px/1.4 system-ui;text-align:left;cursor:pointer}
.language-options button small{font-size:12px;color:inherit}
.language-options button:hover,.language-options button:focus-visible{background:var(--tint);color:var(--ink)}
.language-options button[aria-pressed=true]{background:var(--tint);color:var(--accent);font-weight:650}
.theme-toggle{width:44px;height:44px;min-width:44px;padding:0;justify-content:center;border:1px solid var(--edge);border-radius:10px;background:var(--card);color:var(--ink);margin-left:0!important}
.theme-toggle svg{width:20px;height:20px}
.theme-track{display:none}
.theme-toggle svg:first-child{display:none}
[data-theme=dark] .theme-toggle svg:first-child{display:block}
[data-theme=dark] .theme-toggle svg:last-child{display:none}
:focus-visible{outline-offset:3px!important}
.legal-top .language-picker{margin-left:auto}
.legal-top__inner{gap:12px}
.header .nav a::after{bottom:-12px}
#products .product-card__top{min-height:250px;padding:26px 28px}
#products .product-copy h3{margin:24px 0 14px;line-height:1.16}
#products .product-shot,#products .product-card:last-child .product-shot{height:210px;aspect-ratio:auto;flex-shrink:0}
#products .product-shot img{object-fit:cover;object-position:center 52%}
#products .product-card__footer{min-height:74px;padding:20px 28px}
#products .product-featured{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
#products .product-featured .product-shot{height:230px;align-self:center;margin:24px 24px 24px 0;width:calc(100% - 24px);border-radius:12px}
#products .product-featured .product-card__top{min-height:0}
#products .product-featured .product-card__footer{margin-top:0}
.domain-icon.library-icon{border-radius:12px}
.architecture-map{overflow:hidden}
.arch-core,.arch-node{border-radius:10px!important}
.partners-link{color:#fff;min-height:48px;border-radius:8px}
.header .menu-toggle{width:44px;height:44px;min-width:44px;border-radius:10px;padding:12px}
@media(min-width:1120px){.header .desktop-nav{display:flex!important}.header .menu-toggle{display:none!important}.header .mobile-nav{display:none!important}}
@media(max-width:1119px){.header .desktop-nav{display:none!important}.header .menu-toggle{display:flex!important}.header .language-picker{margin-left:auto}.header .nav-wrap{gap:10px}}
@media(max-width:760px){#products .product-shot,#products .product-card:last-child .product-shot{height:170px}#products .product-card__top{min-height:0;padding:24px}#products .product-card__footer{padding:20px 24px}#products .product-featured{display:flex}#products .product-featured .product-shot{width:100%;height:170px;margin:0;border-radius:0}}
@media(max-width:520px){.header .nav-wrap{gap:7px}.header .brand{gap:8px}.header .brand-sub{display:none}.header .brand-symbol{width:30px;height:30px}.header .brand-name{font-size:12px;letter-spacing:.12em}.language-trigger{min-width:52px;padding:0 6px}.legal-brand img{width:30px;height:30px}.legal-brand strong{font-size:12px;letter-spacing:.10em}.legal-top__inner{gap:8px}.legal-back{min-width:32px;min-height:44px;justify-content:center}.legal-top .theme-toggle{margin-left:auto!important}.legal-top:has(.language-picker) .theme-toggle{margin-left:0!important}}
.hero-fullscreen .hero-center-status{color:var(--copy);font-size:12px;letter-spacing:.04em}
#products .product-shot,#products .product-card:last-child .product-shot{background:transparent}
#products .product-shot img{width:auto;max-width:100%;margin:0 auto;object-fit:contain;border-radius:10px}
#products .product-shot::after{display:none}
/* A grid column must shrink below the longest word on narrow phones. */
.hero-fullscreen .hero-center-layout{grid-template-columns:minmax(0,1fr)}
.hero-fullscreen .hero-center-layout>*{min-width:0;max-width:100%}
@media(max-width:640px){
 html .hero-fullscreen .hero-center-copy h1{font-size:clamp(1.9rem,9.1vw,3.2rem);line-height:1.1;overflow-wrap:break-word;hyphens:auto;letter-spacing:.012em}
 html .hero-fullscreen .hero-center-copy h1 span{white-space:normal}
 .hero-fullscreen .hero-center-footer .hero-actions{flex-wrap:wrap;gap:12px 18px}
 .hero-fullscreen .hero-center-footer .btn{min-height:44px}
 .hero-fullscreen .center-system{width:100%;max-width:360px}
}

/* V14.1 — only the hero «Смотреть возможности» link. */
.hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"]{
  min-height:52px;
  width:auto;
  max-width:100%;
  padding:14px 22px;
  gap:16px;
  border:1px solid transparent;
  border-radius:14px;
  background:#245ac2;
  color:#fff;
  font-size:15px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.015em;
  text-align:left;
  text-decoration:none;
  box-shadow:0 4px 12px #123b811a;
  transform:none;
  transition:background .18s ease,box-shadow .18s ease;
}
.hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"]:hover{
  background:#1c4fae;
  box-shadow:0 6px 16px #123b8126;
  transform:none;
}
.hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"]:active{
  background:#174596;
  box-shadow:none;
}
.hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"] > span:first-child{min-width:0}
.hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"] .btn-arrow{
  display:block;
  flex:0 0 18px;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16m-6-6 6 6 6-6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16m-6-6 6 6 6-6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"] .btn-arrow svg{display:none}
@media(prefers-reduced-motion:reduce){
  .hero-fullscreen .hero-center-footer .hero-actions > a.btn-primary[href="#domains"]{transition:none}
}
