@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

html {
  font-size: 16px;
}

:root {
  --text-primary: #1d1d1f;
  --text-secondary: #555;
  --bg: #f5f5f7;
  --divider: #e5e5e7;
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 680px;
  padding: 3rem 1.5rem 1.5rem;
  margin: 0 auto;
}

/* HERO */

.hero {
  margin-bottom: 1rem;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.hero h2 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 60ch;
}

/* SECTIONS */

section {
  margin-bottom: 1.5rem;
}

section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  max-width: 62ch;
  font-weight: 300;
}

/* THEMES */

.themes {
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
}

.themes h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2rem;
}

li {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0.6rem;
  max-width: 62ch;
}

/* FOOTER */

.footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ============================= */
/* RESPONSIVE TYPE SCALE */
/* ============================= */

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}
