/* MarginMatch portfolio visual system — shared polish, product palettes stay distinct. */
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{font-optical-sizing:auto;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #43896f;outline-offset:3px}
body.sales-template .header{border-bottom:1px solid var(--line)}
body.sales-template .brand,body.sales-template .nav a,body.sales-template .btn{transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body.sales-template .hero{gap:clamp(2rem,6vw,5rem);align-items:center}
body.sales-template .hero h1{font-size:clamp(2.6rem,5.6vw,4.7rem);line-height:1.02;letter-spacing:-.055em;text-wrap:balance}
body.sales-template .hero-copy,body.sales-template .lead{max-width:62ch}
body.sales-template .btn{min-height:48px;padding-inline:1.15rem;border-radius:14px;font-weight:800}
body.sales-template .btn:focus-visible{box-shadow:0 0 0 4px #43896f2c}
body.sales-template .section{scroll-margin-top:1.5rem;padding-block:clamp(3.5rem,8vw,6.5rem)}
body.sales-template .section-head h2{font-size:clamp(1.8rem,3.5vw,2.8rem);line-height:1.1;letter-spacing:-.04em;text-wrap:balance}
body.sales-template .login-card{border:1px solid var(--line);border-radius:24px}
@media(max-width:760px){
 body.sales-template .wrap{padding-inline:18px}
 body.sales-template .header{height:auto;min-height:68px}
 body.sales-template .nav{max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:none}
 body.sales-template .nav::-webkit-scrollbar{display:none}
 body.sales-template .hero{padding-block:clamp(2.5rem,9vw,4rem);grid-template-columns:1fr}
 body.sales-template .hero h1{font-size:clamp(2.4rem,11vw,3.6rem)}
 body.sales-template .actions{gap:10px}
 body.sales-template .actions .btn{min-height:50px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
