/* Shared fonts + minimal grid. All site typography tokens/base rules live here. */

:root {
  --font-family: Urbanist, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-h1: 52px;
  --font-size-h2: 32px;
  --font-size-h3: 16px;
  --font-size-h4: 16px;
  --font-size-h5: 16px;
  --font-weight: 400;
  --letter-spacing: 0.04em;

  --lh-tight: 1.15; /* display titles */
  --lh-snug: 1.35; /* labels, names, short meta */
  --lh-body: 1.6; /* body, leads, paragraphs */

  --color-black: rgba(0, 0, 0, 0.75);
  --color-gray: rgba(0, 0, 0, 0.5);
}

html,
body {
  font-family: var(--font-family);
}

body {
  font-weight: var(--font-weight);
  line-height: var(--lh-body);
  letter-spacing: var(--letter-spacing);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight);
  line-height: var(--lh-tight);
  color: var(--color-black);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight);
  line-height: var(--lh-tight);
  color: var(--color-black);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight);
  line-height: var(--lh-body);
  color: var(--color-black);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight);
  line-height: var(--lh-body);
  color: var(--color-gray);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight);
  line-height: var(--lh-snug);
  color: var(--color-gray);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}
