/* A single reading system for Aviv's public pages. Existing app states stay scoped. */
:root{--kdisp:'Bricolage Grotesque',system-ui,sans-serif;--ktext:'Inter',system-ui,-apple-system,sans-serif;--display:var(--kdisp);--body:var(--ktext);--aviv-copy:16px;--aviv-help:14px;--aviv-blue:#3B6EF6;--aviv-teal:#2FE0C6;--aviv-navy:#0B1437}
.aviv-public{font-family:var(--ktext)!important;font-size:var(--aviv-copy);-webkit-font-smoothing:antialiased}
.aviv-public :is(p,li,button,input,select,textarea,label,a,small,td,th){font-family:var(--ktext)!important}
.aviv-public :is(h1,h2,h3,h4,h5),.aviv-public :is(h1,h2,h3,h4,h5) :is(span,b,strong,em){font-family:var(--kdisp)!important}
.aviv-public :is(h1,h2,h3,h4,h5) :is(span,b,strong,em){font-size:inherit;line-height:inherit;letter-spacing:inherit;font-weight:inherit}
.aviv-public :is(p,li){line-height:1.65}
.public-administra .intro h1,.public-investors .hero h1{font-size:clamp(36px,4.5vw,60px)!important;line-height:1.06!important;letter-spacing:-.04em}
.public-administra :is(.card h2,.share-heading h2),.public-investors :is(.ronda h2,.shead h2){font-size:clamp(28px,3.4vw,42px)!important;line-height:1.12!important}
.public-administra :is(.lead,.muted,.card>p),.public-investors :is(.lead,.sub,.shead p,.card p){font-size:16px;line-height:1.65}
.public-administra :is(.small,label small,.journey-steps p,.intro-note),.public-investors :is(.card small,.card .note){font-size:14px!important;line-height:1.55}
.aviv-public :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--aviv-teal);outline-offset:4px}
.public-privacy{font-size:16px}.public-privacy .back{border-radius:999px}
.public-signature{font-family:var(--ktext)}
.public-signature :is(h1,h2,.brand){font-family:var(--kdisp)}
.public-signature .brand{font-size:24px}.public-signature .brand small{font-family:var(--ktext);font-size:13px}
.public-signature .doc{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.public-signature .steps .s.on{background:var(--aviv-blue)}
.public-signature .kick{color:var(--aviv-blue);font-size:13px;letter-spacing:.04em}
.public-signature .btn{border-radius:999px}
.public-signature .btn.gold{background:var(--aviv-blue);color:#fff}
.public-home :is(.shead p,.finance-intro-head p,.finance-path p,.finance-path li,.fc p,.mvcard p,.tlead,.invlead,.a p){font-size:16px!important;line-height:1.65!important}
.public-home :is(.hero .hp){font-size:18px;line-height:1.65}
.public-home :is(.shead h2,.techband h2,.invband h2,.finance-intro-head h2){font-size:clamp(32px,4vw,48px)!important;line-height:1.08!important;letter-spacing:-.04em!important}
.public-home :is(.fc h3,.mvcard h3){font-size:24px!important;line-height:1.18!important}
.public-home .finance-path h3{font-size:clamp(25px,2.15vw,29px)!important;line-height:1.16}
.public-home .finance-path-body{padding-top:26px}
.public-home .finance-path ul{font-size:16px;line-height:1.65;display:grid;gap:6px;margin-top:14px}
.public-home :is(.finance-note,.tfeat,.tfeat b,.stat>span:last-child,.mvtag){font-size:14px!important;line-height:1.55}
.public-home .finance-art-caption{font-size:12px}
.public-home .finance-free,.public-home .finance-path-number{font-size:13px}
.public-home :is(.kick,.hkick,.tkick,.invkick){font-size:13px!important;letter-spacing:.025em!important;line-height:1.4}
.public-home :is(.tlead,.invlead){max-width:54ch}
.public-home .mvvisual{margin:0 0 16px;min-width:0}
.public-home .mvvisual .mvimg{height:auto;aspect-ratio:1672/941;object-fit:contain;margin-bottom:0}
.public-home .mvcredit{margin-top:8px;color:#bac9df;font-size:13px;line-height:1.5}
.public-home .mvcredit summary{width:fit-content;cursor:pointer}
.public-home .mvcredit p{margin:8px 0 0;font-size:13px;line-height:1.5}
.public-home .mvcredit a{color:var(--aviv-teal);text-decoration:underline;text-underline-offset:3px}
.public-home :is(.shead p,.finance-intro-head p){max-width:62ch}
.public-home .gtd{background:none!important;-webkit-text-fill-color:var(--aviv-blue)!important;color:var(--aviv-blue)!important}
.public-home #wiz h2{font-size:clamp(28px,4vw,40px)!important;line-height:1.1!important}
.public-home #pg h2{font-size:clamp(27px,4vw,36px)!important;line-height:1.15!important}
/* Logo followed by the options, in reading order. All names remain visible. */
.public-home #nav .wrap{max-width:1440px;display:flex;justify-content:flex-start;align-items:center;gap:clamp(24px,3vw,46px);flex-wrap:nowrap}
.public-home #nav .nlinks{display:flex;align-items:center;flex:1;gap:clamp(18px,2.2vw,32px);width:auto;order:initial;padding:0;overflow:visible}
.public-home #nav .nlinks a,.public-home #nav .nlinks .finance-menu{font-family:var(--ktext)!important;font-size:17px!important;font-weight:600;line-height:1.35;width:auto;min-width:0;max-width:none;white-space:nowrap;padding:12px 0;flex-shrink:0}
.public-home #nav .nlinks .ncta{padding:12px 22px;margin-left:auto;margin-top:0;text-align:center}
.public-home #nav-toggle{display:none!important}
.public-home :is(#finanzas-gratis,#simulador,#mision,#beneficios,#faq){scroll-margin-top:110px}
@media(max-width:1100px) and (min-width:901px){
 .public-home #nav .wrap{gap:22px}
 .public-home #nav .nlinks{gap:18px}
 .public-home #nav .nlinks a,.public-home #nav .nlinks .finance-menu{font-size:15px!important}
 .public-home #nav .nlinks .ncta{padding:12px 15px}
}
@media(max-width:900px){
 .public-home #nav{padding:12px 0;background:rgba(11,20,55,.96)}
 .public-home #nav .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 16px;padding-inline:20px}
 .public-home #nav .nlogo{grid-column:1;grid-row:1;justify-self:start;margin-bottom:7px}
 .public-home #nav .nlinks{display:contents}
 .public-home #nav .nlinks a,.public-home #nav .nlinks .finance-menu{font-size:14px!important;padding:9px 0;white-space:normal;line-height:1.35;margin:0;align-self:center;min-height:38px}
 .public-home #nav .nlinks>a:nth-child(1){grid-column:1;grid-row:2}
 .public-home #nav .nlinks>a:nth-child(2){grid-column:2;grid-row:2}
 .public-home #nav .nlinks>a:nth-child(3){grid-column:1;grid-row:3}
 .public-home #nav .nlinks>a:nth-child(4){grid-column:2;grid-row:3}
 .public-home #nav .nlinks .ncta{grid-column:2;grid-row:1;justify-self:end;padding:12px 15px;margin-bottom:7px}
 .public-home .hero{padding-top:210px!important}
 .public-home :is(#finanzas-gratis,#simulador,#mision,#beneficios,#faq){scroll-margin-top:182px}
}
@media(max-width:760px){
 .public-home :is(.shead h2,.techband h2,.invband h2,.finance-intro-head h2){font-size:32px!important}
 .public-home :is(.hero .hp){font-size:16px}
 .public-home .finance-path h3{font-size:26px!important}
 .public-home .finance-path h3 br{display:none}
 .public-home .finance-focus::before{content:' '}
 .public-home :is(.fc h3,.mvcard h3){font-size:22px!important}
}
@media(max-width:360px){.public-home #nav .wrap{padding-inline:14px;gap:2px 12px}.public-home #nav .nlinks .ncta{padding:12px}.public-home #nav .nlinks>a:first-child{max-width:140px}}

/* Keep emoji inside their badge; mobile text padding must not shrink its content. */
.public-home .fc .fi{padding:0;line-height:1;text-align:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
@media(max-width:760px){
 .public-home .fc .fi{margin-inline:24px}
 .public-home .fc>.fi:first-child{margin-top:24px}
}

/* Carry the header's mirror sheen through the logos at the bottom of the page. */
.public-home footer :is(.nlogo,.staff-mark){position:relative}
.public-home footer :is(.nlogo,.staff-mark)::after,
.public-home .invart::after{
 content:"";border-radius:50%;pointer-events:none;
 background-image:linear-gradient(110deg,transparent 36%,rgba(255,255,255,.18) 42%,rgba(255,255,255,.65) 46%,rgba(224,247,255,.28) 49%,transparent 55%);
 background-size:300% 100%;background-position:150% 0;background-repeat:no-repeat;
 animation:aviv-footer-mirror 7s ease-in-out infinite;
}
.public-home footer .nlogo::after{position:absolute;left:0;top:50%;width:48px;height:48px;transform:translateY(-50%)}
.public-home footer .staff-mark::after{position:absolute;left:50%;top:50%;width:24px;height:24px;transform:translate(-50%,-50%)}
.public-home .invart>img,.public-home .invart::after{grid-area:1/1}
.public-home .invart::after{width:min(100%,420px);aspect-ratio:1;z-index:1}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
 .public-home footer :is(.nlogo b,.footer-signature>b){
  background-image:linear-gradient(110deg,transparent 36%,rgba(116,138,164,.6) 42%,rgba(255,255,255,.98) 46%,rgba(224,247,255,.7) 49%,transparent 55%),linear-gradient(#fff,#fff)!important;
  background-size:300% 100%,100% 100%!important;background-position:150% 0,0 0;background-repeat:no-repeat!important;
  -webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;
  animation:aviv-footer-mirror 7s ease-in-out infinite;
 }
}
@keyframes aviv-footer-mirror{0%,12%{background-position:150% 0,0 0}58%,100%{background-position:-50% 0,0 0}}
@media(prefers-reduced-motion:reduce){
 .public-home footer :is(.nlogo b,.footer-signature>b){animation:none}
 .public-home footer :is(.nlogo,.staff-mark)::after,.public-home .invart::after{display:none;animation:none}
}
