/* SpaceFactory foundation: global tokens, typography and resets. */

:root{--black:#080b0e;--white:#f4f5f5;--muted:#b9bec3;--accent:#b9242b}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{margin:0;background:var(--black);color:var(--white);font-family:"Avenir Next",Avenir,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}

a{color:inherit;text-decoration:none}

p{font-size:clamp(15px,1.2vw,18px);line-height:1.7;font-weight:400}

h1,h2,h3,p{margin-top:0}

h1,h2{font-weight:500;letter-spacing:-.045em;line-height:1.04}

h1{font-size:clamp(64px,8.8vw,150px);margin:24px 0 42px}

h2{font-size:clamp(46px,5.6vw,90px);margin:18px 0 36px}

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

:root{--blue:#397fc9;--red:#c44848;--gray:#969ba3}

body{letter-spacing:.005em}

h1,h2{letter-spacing:-.038em;line-height:1.095;font-weight:500}

h1{font-size:clamp(54px,5.15vw,88px);margin:24px 0 36px}

h2{font-size:clamp(37px,3.65vw,62px);margin:18px 0 31px}

p{font-size:clamp(16px,1.12vw,19px);line-height:1.68}

@media (max-width:800px) {
h1{font-size:clamp(48px,9vw,70px);margin:21px 0 30px}
h2{font-size:clamp(36px,7.3vw,54px)}
}

@media (max-width:480px) {
h1{font-size:clamp(43px,10.5vw,54px)}
}
