/* Антиростовщик — единая публичная дизайн-система, август 2026 */
:root{
  --premium-ink:#071b2d;
  --premium-ink-2:#0c2940;
  --premium-paper:#f4f1e9;
  --premium-paper-2:#ece8dd;
  --premium-mint:#55d6a7;
  --premium-emerald:#138565;
  --premium-copper:#bd8d52;
  --premium-text:#10283a;
  --premium-muted:#526978;
  --premium-line:rgba(9,34,51,.12);
  --premium-ease:cubic-bezier(.22,.8,.24,1);
  --premium-radius:30px;
}

html{width:100%;max-width:100%;overflow-x:clip;scroll-padding-top:100px}
body.premium-site{
  width:100%;max-width:100%;overflow-x:clip;
  font-family:'Manrope',system-ui,sans-serif;
  color:var(--premium-text);
  background:var(--premium-paper);
  text-rendering:optimizeLegibility;
}
body.premium-site::after{
  content:"";position:fixed;inset:0;z-index:90;pointer-events:none;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}
body.premium-site *,body.premium-site *::before,body.premium-site *::after{box-sizing:border-box}
body.premium-site img,body.premium-site svg,body.premium-site video,body.premium-site iframe{max-width:100%}
body.premium-site main{display:block;min-width:0;overflow:clip}
body.premium-site h1,body.premium-site h2,body.premium-site h3,body.premium-site h4{
  font-family:'Manrope',system-ui,sans-serif;letter-spacing:-.045em;text-wrap:balance;
}
body.premium-site p{max-width:68ch;text-wrap:pretty}
body.premium-site :focus-visible{outline:3px solid var(--premium-mint);outline-offset:4px}

.skip-link{position:fixed;left:18px;top:12px;z-index:500;transform:translateY(-150%);background:#fff;color:#071b2d;padding:12px 18px;border-radius:99px;font-weight:800;transition:transform .25s var(--premium-ease)}
.skip-link:focus{transform:translateY(0)}
.premium-progress{position:fixed;inset:0 auto auto 0;width:100%;height:3px;z-index:450;transform-origin:left;background:linear-gradient(90deg,var(--premium-mint),#e3bd84);animation:premium-progress linear both;animation-timeline:scroll(root)}
@keyframes premium-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Floating navigation island */
body.premium-site #hdr,body.page-partner > .nav,body.premium-site .hdr{
  top:16px!important;left:clamp(12px,3vw,38px)!important;right:clamp(12px,3vw,38px)!important;
  width:auto!important;max-width:1320px;margin-inline:auto;height:70px!important;
  border:1px solid rgba(255,255,255,.14)!important;border-radius:24px!important;
  background:rgba(7,27,45,.78)!important;box-shadow:0 20px 55px rgba(3,18,30,.18)!important;
  backdrop-filter:blur(20px) saturate(125%)!important;-webkit-backdrop-filter:blur(20px) saturate(125%)!important;
  transition:transform .6s var(--premium-ease),background .6s var(--premium-ease),box-shadow .6s var(--premium-ease)!important;
}
body.page-partner > .nav{padding-inline:24px!important}
body.premium-site #hdr:hover,body.page-partner > .nav:hover,body.premium-site .hdr:hover{background:rgba(7,27,45,.92)!important;box-shadow:0 24px 70px rgba(3,18,30,.26)!important}
body.premium-site .hdr-inner,body.premium-site .nav-inner{width:100%;max-width:1240px!important;min-width:0}
body.premium-site .nav-links,body.premium-site .hdr-nav{min-width:0}
body.premium-site .nav-links a,body.premium-site .hdr-nav a{position:relative}
body.premium-site .nav-links a::after,body.premium-site .hdr-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:1px;background:var(--premium-mint);transition:right .45s var(--premium-ease)}
body.premium-site .nav-links a:hover::after,body.premium-site .hdr-nav a:hover::after{right:0}

/* Premium buttons */
body.premium-site .btn,body.premium-site .hero-btn,body.premium-site .hdr-cta .btn-cta,body.premium-site .nav-cta,
body.premium-site button[type="submit"],body.premium-site .submit-btn{
  position:relative;isolation:isolate;min-height:50px;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;
  transition:transform .55s var(--premium-ease),box-shadow .55s var(--premium-ease),background .55s var(--premium-ease)!important;
}
body.premium-site .btn-primary,body.premium-site .hero-btn,body.premium-site .hdr-cta .btn-cta,body.premium-site .nav-cta,
body.premium-site button[type="submit"],body.premium-site .submit-btn{
  color:#06271f!important;background:linear-gradient(115deg,#79e4bd 0%,#42c99a 52%,#d3ad75 140%)!important;
  box-shadow:0 14px 35px rgba(37,178,132,.22),inset 0 1px rgba(255,255,255,.54)!important;
}
body.premium-site .btn:hover,body.premium-site .hero-btn:hover,body.premium-site .hdr-cta .btn-cta:hover,body.premium-site .nav-cta:hover,
body.premium-site button[type="submit"]:hover,body.premium-site .submit-btn:hover{transform:translateY(-3px) scale(1.012);box-shadow:0 21px 48px rgba(37,178,132,.3)!important}
body.premium-site .btn:active,body.premium-site .hero-btn:active,body.premium-site .hdr-cta .btn-cta:active,body.premium-site .nav-cta:active,
body.premium-site button[type="submit"]:active,body.premium-site .submit-btn:active{transform:translateY(1px) scale(.985)}

/* Cinematic hero */
body.premium-site .hero{min-height:100dvh!important;padding-top:clamp(126px,15vh,180px)!important;padding-bottom:clamp(72px,10vh,120px)!important;background-color:var(--premium-ink)!important;overflow:clip}
body.page-main .hero-content,body.page-partner .hero-inner,body.page-zalog .hero-in{width:min(calc(100% - 44px),1240px)!important;max-width:1240px!important;margin-inline:auto!important;min-width:0}
body.page-main .login-float{display:none!important}
body.premium-site .hero::after{content:"";position:absolute;inset:auto -14vw -32vw auto;width:min(70vw,920px);aspect-ratio:1;border:1px solid rgba(85,214,167,.22);border-radius:50%;box-shadow:0 0 0 70px rgba(85,214,167,.025),0 0 0 140px rgba(189,141,82,.018);pointer-events:none;animation:premium-orbit 22s var(--premium-ease) infinite alternate}
@keyframes premium-orbit{to{transform:translate3d(-5vw,-6vw,0) rotate(14deg) scale(1.08)}}
body.premium-site .hero-title,body.premium-site .hero h1{
  max-width:12ch;font-size:clamp(48px,7.4vw,112px)!important;line-height:.91!important;font-weight:770!important;
  letter-spacing:-.072em!important;text-shadow:0 12px 48px rgba(0,0,0,.16);
}
/* Heavy Cyrillic needs more breathing room than the display Latin setting. */
body.page-zalog .hero h1{
  max-width:none!important;
  font-size:clamp(48px,4.2vw,68px)!important;
  line-height:1.04!important;
  letter-spacing:-.025em!important;
  font-weight:720!important;
  text-wrap:balance;
}
body.premium-site .hero-title em,body.premium-site .hero h1 em{color:var(--premium-mint)!important;font-style:normal}
body.premium-site .hero-sub,body.premium-site .hero p{font-size:clamp(16px,1.35vw,20px)!important;line-height:1.72;max-width:58ch;color:rgba(255,255,255,.76)!important}
body.premium-site .hero-badge,body.premium-site .hero-kicker,body.premium-site .eyebrow,body.premium-site .section-label,body.premium-site .sec-label{
  font-family:'Manrope',sans-serif!important;font-size:11px!important;letter-spacing:.18em!important;font-weight:800!important;
}

/* Editorial section rhythm */
body.premium-site .section,body.premium-site .sec{padding-block:clamp(82px,10vw,142px)!important}
body.premium-site .container,body.premium-site .wrap{width:min(100% - 44px,1240px)!important;max-width:1240px!important;margin-inline:auto!important;padding-inline:0!important;min-width:0}
body.premium-site .sec-title,body.premium-site .section-h,body.premium-site h2.sec-h{
  font-size:clamp(36px,5.1vw,72px)!important;line-height:1.01!important;letter-spacing:-.058em!important;font-weight:740!important;
}
body.premium-site .sec-sub,body.premium-site .section-sub{font-size:clamp(16px,1.6vw,20px)!important;line-height:1.75;color:var(--premium-muted)!important}
body.premium-site .section-dark,body.premium-site .sec-dark,body.premium-site .process,body.premium-site .lead{background:var(--premium-ink)!important}
body.premium-site .section-tinted,body.premium-site .sec-tinted{background:var(--premium-paper-2)!important}

/* Refined surfaces and asymmetric grids */
body.premium-site .sos-card,body.premium-site .bento-card,body.premium-site .process-step,body.premium-site .tcard,
body.premium-site .benefit-card,body.premium-site .step-card,body.premium-site .comm-card,body.premium-site .law-card,
body.premium-site .guar,body.premium-site .contact,body.premium-site .faq-item{
  border-color:transparent!important;border-radius:var(--premium-radius)!important;
  box-shadow:0 28px 70px rgba(8,31,47,.08),inset 0 1px rgba(255,255,255,.8)!important;
  transition:transform .65s var(--premium-ease),box-shadow .65s var(--premium-ease),background .65s var(--premium-ease)!important;
}
body.premium-site .sos-card:hover,body.premium-site .bento-card:hover,body.premium-site .tcard:hover,
body.premium-site .benefit-card:hover,body.premium-site .step-card:hover,body.premium-site .law-card:hover{
  transform:translateY(-9px);box-shadow:0 38px 90px rgba(8,31,47,.14),inset 0 1px rgba(255,255,255,.84)!important;
}
body.page-main .about-grid{gap:clamp(44px,7vw,104px)!important}
body.page-main .bento-grid{grid-template-columns:1.25fr .75fr .75fr!important;grid-auto-rows:minmax(250px,auto);gap:18px!important}
body.page-main .bento-lg{grid-column:span 1!important;grid-row:span 2!important}
body.page-partner .steps-grid,body.page-partner .benefits-grid{gap:20px!important}
body.page-zalog .law-grid,body.page-zalog .cross{gap:20px!important}

/* Trust statement shared by all funnels */
.practice-on-request{position:relative;isolation:isolate;background:var(--premium-paper);padding:0 0 clamp(64px,8vw,112px)!important}
.practice-on-request .practice-shell{width:min(100% - 44px,1240px);margin-inline:auto;padding:clamp(34px,5vw,62px);border-radius:36px;background:linear-gradient(135deg,#0a2438,#0f354c);color:#fff;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:36px;align-items:end;box-shadow:0 32px 90px rgba(7,27,45,.22);overflow:hidden;position:relative}
.practice-on-request .practice-shell::after{content:"";position:absolute;width:420px;aspect-ratio:1;border-radius:50%;right:-190px;top:-230px;border:1px solid rgba(85,214,167,.34);box-shadow:0 0 0 50px rgba(85,214,167,.035),0 0 0 100px rgba(255,255,255,.018)}
.practice-on-request .practice-label{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:var(--premium-mint);font-weight:800;margin-bottom:18px}
.practice-on-request h2{font-size:clamp(31px,4vw,58px);line-height:1.02;margin:0 0 18px;max-width:16ch}
.practice-on-request p{color:rgba(255,255,255,.72);line-height:1.75;margin:0}
.practice-on-request .practice-note{position:relative;z-index:1;padding:24px;border-radius:22px;background:rgba(255,255,255,.07);box-shadow:inset 0 1px rgba(255,255,255,.12);font-size:14px}

/* Legal reassurance line */
.legal-caveat{display:flex;gap:12px;align-items:flex-start;margin-top:22px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.7);font-size:13px;line-height:1.55;max-width:62ch}
.legal-caveat::before{content:"§";display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:rgba(85,214,167,.14);color:var(--premium-mint);font-family:'Prata',serif;font-size:16px}

/* Motion: content remains visible without JS */
.premium-reveal{opacity:1;transform:none}
.premium-motion .premium-reveal{opacity:0;transform:translate3d(0,38px,0);transition:opacity .9s var(--premium-ease),transform .9s var(--premium-ease)}
.premium-motion .premium-reveal.is-visible{opacity:1;transform:translate3d(0,0,0)}

/* Compact consent banner */
body.premium-site .cookie-banner,body.premium-site #cookie-banner,body.premium-site .cookie-notice,body.premium-site .cookie-bar{
  left:50%!important;right:auto!important;bottom:14px!important;transform:translateX(-50%)!important;
  width:min(calc(100% - 28px),960px)!important;max-width:960px!important;border-radius:20px!important;
  padding:12px 14px 12px 18px!important;box-shadow:0 20px 70px rgba(4,20,32,.24)!important;
}

@media(max-width:1100px){
  body.page-main .bento-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-main .bento-lg{grid-column:span 2!important;grid-row:auto!important}
}
@media(max-width:900px){
  body.premium-site #hdr,body.page-partner > .nav,body.premium-site .hdr{top:10px!important;left:10px!important;right:10px!important;height:62px!important;border-radius:20px!important}
  body.premium-site .hero{padding-top:118px!important;min-height:auto!important}
  body.premium-site .hero-title,body.premium-site .hero h1{font-size:clamp(43px,13.6vw,72px)!important;max-width:11ch!important}
  .practice-on-request .practice-shell{grid-template-columns:1fr}
}
@media(max-width:700px){
  html{scroll-padding-top:82px}
  body.premium-site{min-width:0}
  body.premium-site .container,body.premium-site .wrap{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important}
  body.premium-site .section,body.premium-site .sec{padding-block:72px!important}
  body.premium-site .hero{padding:108px 0 70px!important}
  body.premium-site .hero::after{width:120vw;right:-60vw;bottom:-36vw}
  body.premium-site .hero-title,body.premium-site .hero h1{font-size:clamp(42px,13.4vw,61px)!important;line-height:.95!important;letter-spacing:-.062em!important;overflow-wrap:anywhere}
  body.page-partner .hero h1{font-size:clamp(39px,11.8vw,50px)!important;max-width:9.5ch!important}
  body.page-zalog .hero h1{font-size:clamp(39px,11.5vw,50px)!important;max-width:11.5ch!important;line-height:1.02!important;letter-spacing:-.03em!important}
  body.page-main .hero-content,body.page-partner .hero-inner,body.page-zalog .hero-in{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important}
  body.premium-site .hero-sub,body.premium-site .hero p{font-size:16px!important;line-height:1.65}
  body.page-main .bento-grid{grid-template-columns:minmax(0,1fr)!important}
  body.page-main .bento-lg{grid-column:auto!important}
  body.premium-site .sos-grid,body.premium-site .steps-grid,body.premium-site .benefits-grid,
  body.premium-site .law-grid,body.premium-site .cross,body.premium-site .form-grid{grid-template-columns:minmax(0,1fr)!important}
  body.premium-site .sos-card,body.premium-site .bento-card,body.premium-site .process-step,body.premium-site .tcard,
  body.premium-site .benefit-card,body.premium-site .step-card,body.premium-site .comm-card,body.premium-site .law-card{min-width:0!important;width:100%!important}
  body.premium-site input,body.premium-site textarea,body.premium-site select{max-width:100%!important;width:100%!important;font-size:16px!important}
  body.premium-site table{max-width:100%}
  body.premium-site .btn,body.premium-site .hero-btn{max-width:100%;justify-content:center;text-align:center;white-space:normal}
  .practice-on-request .practice-shell{width:calc(100% - 24px);padding:32px 22px;border-radius:26px;gap:24px}
  .practice-on-request{padding-bottom:48px!important}
  .practice-on-request h2{font-size:34px}
  body.premium-site .cookie-banner,body.premium-site #cookie-banner,body.premium-site .cookie-notice,body.premium-site .cookie-bar{bottom:8px!important;width:calc(100% - 16px)!important;max-height:30dvh!important;overflow:auto!important;padding:10px 12px!important;border-radius:17px!important;gap:8px!important;font-size:12px!important}
  body.premium-site .cookie-bar p,body.premium-site .cookie-bar span{font-size:12px!important;line-height:1.45!important;flex:1 1 230px!important}
  body.premium-site .cookie-bar button{min-height:40px!important;padding:8px 18px!important}
}
@media(max-width:390px){
  body.premium-site .container,body.premium-site .wrap{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important}
  body.premium-site .hero-title,body.premium-site .hero h1{font-size:clamp(38px,13.2vw,52px)!important}
  body.premium-site #hdr,body.page-partner > .nav,body.premium-site .hdr{left:7px!important;right:7px!important}
  body.page-partner > .nav{padding-inline:12px!important}
  body.page-partner > .nav .nav-cta{padding:8px 12px!important;font-size:11px!important;min-height:42px!important}
  body.page-partner > .nav .nav-logo{gap:7px!important;font-size:12px!important}
  body.page-partner > .nav .nav-logo img{width:30px!important;height:30px!important}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .premium-motion .premium-reveal{opacity:1!important;transform:none!important}
}
