:root {
  --font-family-primary:
    'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  --font-size-d1: 96px;
  --font-size-d2: 80px;
  --font-size-d3: 64px;
  --font-size-d4: 56px;
  --font-size-h1: 48px;
  --font-size-h2: 40px;
  --font-size-h3: 32px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 16px;
  --font-size-h7: 14px;
  --font-size-r1: 24px;
  --font-size-r2: 20px;
  --font-size-r3: 16px;
  --font-size-r4: 14px;
  --font-size-r5: 12px;
  --font-size-u1: 24px;
  --font-size-u2: 20px;
  --font-size-u3: 16px;
  --font-size-u4: 14px;
  --font-size-u5: 12px;
  --line-height-display: 1.2;
  --line-height-heading: 1.35;
  --line-height-body: 1.5;
  --line-height-tight: 1.25;
  --letter-spacing-normal: 0;
  --letter-spacing-uppercase: 0.08em;
  --ispc--preset--font-family--primary: var(--font-family-primary);
  --ispc--preset--font-size--display: var(--font-size-d3);
  --ispc--preset--font-size--h1: var(--font-size-h1);
  --ispc--preset--font-size--h2: var(--font-size-h2);
  --ispc--preset--font-size--h3: var(--font-size-h3);
  --ispc--preset--font-size--h4: var(--font-size-h4);
  --ispc--preset--font-size--h5: var(--font-size-h5);
  --ispc--preset--font-size--h6: var(--font-size-h6);
  --ispc--preset--font-size--body: var(--font-size-r3);
  --ispc--preset--font-size--xl: var(--font-size-r1);
  --ispc--preset--font-size--lg: var(--font-size-r2);
  --ispc--preset--font-size--sm: var(--font-size-r4);
  --ispc--preset--font-size--xs: var(--font-size-r5);
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-r3);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-text, #171717);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.display-d1,
.text-d1 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-d1);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-display);
  text-transform: uppercase;
}

.display-d2,
.text-d2 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-d2);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-display);
  text-transform: uppercase;
}

.display-d3,
.text-d3 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-d3);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-display);
  text-transform: uppercase;
}

.display-d4,
.text-d4 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-d4);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-display);
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.h7 {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text, #171717);
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1,
.h1,
.text-h1 {
  font-size: var(--font-size-h1);
}

h2,
.h2,
.text-h2 {
  font-size: var(--font-size-h2);
}

h3,
.h3,
.text-h3 {
  font-size: var(--font-size-h3);
}

h4,
.h4,
.text-h4 {
  font-size: var(--font-size-h4);
}

h5,
.h5,
.text-h5 {
  font-size: var(--font-size-h5);
}

h6,
.h6,
.text-h6 {
  font-size: var(--font-size-h6);
}

.h7,
.text-h7 {
  font-size: var(--font-size-h7);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
}

.text-r1 {
  font-size: var(--font-size-r1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
}

.text-r2 {
  font-size: var(--font-size-r2);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
}

.text-r3 {
  font-size: var(--font-size-r3);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
}

.text-r4 {
  font-size: var(--font-size-r4);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
}

.text-r5 {
  font-size: var(--font-size-r5);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}

.lead {
  font-size: var(--font-size-r1);
  line-height: var(--line-height-body);
}

.text-lg {
  font-size: var(--font-size-r2);
}

.text-sm {
  font-size: var(--font-size-r4);
}

.text-xs {
  font-size: var(--font-size-r5);
}

.text-u1 {
  font-size: var(--font-size-u1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
}

.text-u2 {
  font-size: var(--font-size-u2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
}

.text-u3 {
  font-size: var(--font-size-u3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
}

.text-u4 {
  font-size: var(--font-size-u4);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
}

.text-u5 {
  font-size: var(--font-size-u5);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
}

.font-regular {
  font-weight: var(--font-weight-regular);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.font-black {
  font-weight: var(--font-weight-black);
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-uppercase);
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.normal-case {
  text-transform: none;
  letter-spacing: var(--letter-spacing-normal);
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.leading-display {
  line-height: var(--line-height-display);
}

.leading-heading {
  line-height: var(--line-height-heading);
}

.leading-body {
  line-height: var(--line-height-body);
}

.leading-tight {
  line-height: var(--line-height-tight);
}

a {
  color: var(--color-primary, #71984f);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-hover, #5b7c3d);
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.25em;
}

@media (max-width: 1024px) {
  :root {
    --font-size-d1: 72px;
    --font-size-d2: 64px;
    --font-size-d3: 56px;
    --font-size-d4: 48px;
  }
}

@media (max-width: 767px) {
  :root {
    --font-size-d1: 56px;
    --font-size-d2: 48px;
    --font-size-d3: 40px;
    --font-size-d4: 36px;
    --font-size-h1: 36px;
    --font-size-h2: 32px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    --font-size-r1: 20px;
  }
}
