/* Cormorant Garamond */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-700.woff2") format("woff2");
}

/* Poppins */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400.woff2") format("woff2");
}

:root {
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #f9fbfb;
  --accent: #1a6b7c;
  --max-width: 42rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  padding: 3rem 1.5rem 5rem;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
}

h1, h2, .subtitle {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.subtitle {
  color: var(--text-light);
  font-size: 1.35rem;
  margin-bottom: 3rem;
}

.subtitle::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  background: var(--accent);
  margin-top: 1.5rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

p, ul, dl {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.5rem;
}

dt {
  color: var(--text-light);
}

dd {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--text);
}

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  body {
    padding: 2rem 1rem 3rem;
  }

  h1 {
    font-size: 2rem;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  dt {
    margin-top: 0.5rem;
  }
}
