@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/jost-latin-var.woff2") format("woff2");
}

:root {
  --blue: #008fd5;
  --green: #8ec641;
  --gray: #636363;
  --rule: rgba(99, 99, 99, .25);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--gray);
  font-family: "Jost", "Century Gothic", "Avenir Next", arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6em;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green); }

h1 {
  color: var(--blue);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.2em;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}

h2 {
  color: var(--green);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.6em;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}

/* header */
.site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.site-header .logo img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
}

.site-nav a {
  color: var(--gray);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .05em;
}

.site-nav a:hover,
.site-nav .active a {
  color: var(--blue);
  border-bottom: 1px solid var(--rule);
}

/* page body */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

main img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

.center { text-align: center; }

.lede {
  max-width: 800px;
  margin: 2em auto;
  text-align: center;
}

/* customers */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.testimonial {
  flex: 1 1 380px;
  max-width: 480px;
  text-align: center;
}

.testimonial img.stars {
  width: 220px;
  margin-bottom: 1em;
}

.testimonial blockquote {
  margin: 0;
  font-size: 20px;
  quotes: "\201C" "\201D";
}

.testimonial blockquote:before { content: open-quote; color: var(--blue); }
.testimonial blockquote:after { content: close-quote; color: var(--blue); }

.testimonial cite {
  display: block;
  margin-top: 1em;
  font-style: normal;
  font-size: 15px;
}

/* contact */
.contact-logo { width: 160px; margin-top: 3em; }

/* footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 30px 24px;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray);
  border-radius: 50%;
  color: var(--gray);
}

.social a:hover { border-color: var(--blue); color: var(--blue); }

.social svg { width: 16px; height: 16px; fill: currentColor; }

.site-footer p {
  margin: 0;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .site-header { justify-content: center; text-align: center; }
  .site-nav ul { justify-content: center; }
}
