/* ================= TYPOGRAPHY SYSTEM ================= */

/* GLOBAL HEADINGS */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ================= HERO ================= */

.heading-xl {
  font-size: 36px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .heading-xl {
    font-size: 60px;
  }
}

/* ================= SECTION TITLES ================= */

.section-title {
  margin: 0 0 40px 0;
  font-size: 28px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 34px;
  }
}

.heading-lg {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .heading-lg {
    font-size: 36px;
  }
}

/* ================= SUBTITLE ================= */

.heading-md {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .heading-md {
    font-size: 26px;
  }
}

/* ================= SMALL TITLE ================= */

.heading-sm {
  font-size: 16px;
  font-weight: 400;
}

/* ================= PRODUCT ================= */

.product-title {
  font-weight: 400;
}

/* ================= TEXT ================= */

p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.section-text {
  margin-top: 12px;
}

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

.text-muted {
  color: var(--text-muted);
}

.text-matcha {
  color: var(--matcha);
}

/* ================= LINKS ================= */

.link {
  font-weight: 500;
  transition: opacity 0.25s ease;
}

.link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.link-strong {
  font-weight: 600;
}