@import url("https://fonts.googleapis.com/css?family=Montserrat:400|Inconsolata:400");
*,
::after,
::before {
  box-sizing: border-box;
}
:root {
  /* the landing page's palette, trimmed to what a text page needs */
  --primary-0: #f0efff;
  --primary-50: #d8d6ff;
  --primary-500: #645cff;
  --primary-700: #4640b3;
  --grey-50: #f2f4f8;
  --grey-100: #eaedf3;
  --grey-300: #dbe0ea;
  --grey-400: #d3dae6;
  --grey-500: #cbd3e1;
  --grey-600: #adb3bf;
  --grey-800: #70747c;
  --grey-900: #51545a;
  --grey-1000: #333538;
  --grey-1100: #141516;
  --white: #fff;
  --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --headingFont: "Inconsolata", monospace;
  --bodyFont: "Arial", sans-serif;
  --smallText: 0.8em;
  --backgroundColor: var(--grey-50);
  --textColor: var(--grey-1000);
  --borderRadius: 0.25rem;
  --max-width: 1170px;
}

body {
  background: var(--backgroundColor);
  color: var(--textColor);
  font-family: var(--bodyFont);
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

nav {
  height: 4rem;
  background: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-center {
  color: var(--white);
  display: flex;
  width: 64%;
  align-items: center;
  justify-content: space-between;
  padding: 0 1em;
  text-transform: capitalize;
}
.nav-center h4 {
  margin: 0;
}
.nav-center a {
  color: var(--white);
  font-size: 1.35rem;
  padding: 5px;
  text-decoration: none;
}
.nav-menu a {
  font-size: 1rem;
  padding: 5px 7px;
}

/* the document itself -------------------------------------------------- */
.legal {
  width: 90%;
  max-width: 780px;
  margin: 2.5rem auto 3.5rem;
  background: var(--white);
  border-radius: var(--borderRadius);
  box-shadow: var(--shadow-2);
  padding: 2.5rem 2.75rem 3rem;
}
.legal h1 {
  font-family: var(--headingFont);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.legal h2 {
  font-family: var(--headingFont);
  font-size: 1.15rem;
  margin: 2.2rem 0 0.5rem;
  color: var(--primary-700);
}
.legal p {
  margin: 0 0 1rem;
}
.legal a {
  color: var(--primary-700);
}
.effective {
  margin-top: 2.5rem !important;
  padding-top: 1.2rem;
  border-top: 1px solid var(--grey-300);
  color: var(--grey-800);
  font-size: var(--smallText);
}

/* footer, matching the landing page ------------------------------------ */
.wrap {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer {
  background: var(--grey-1100);
  color: var(--grey-600);
  padding: 2rem 0;
  font-size: var(--smallText);
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.footer a {
  color: var(--grey-500);
  text-decoration: none;
}
.footer a:hover {
  color: var(--white);
}
.footer-brand {
  color: var(--grey-400);
}
.footer-gloss {
  color: var(--grey-800);
}

@media (max-width: 768px) {
  .nav-center {
    width: 95%;
  }
  .legal {
    padding: 1.75rem 1.35rem 2.25rem;
    margin-top: 1.5rem;
  }
}
@media (max-width: 480px) {
  .footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}
