@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

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

:root {
  --clr-primary: #023047; /* header color */
  --clr-bg: #f9f7ed; /* page background */
  --clr-text: #262827;
  --clr-muted: #555555;
  --clr-white: #ffffff;

  --font: "Montserrat", Georgia, serif;
  --max-w: 1200px;
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-primary);
  padding: 0 1rem;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav__logo {
  color: var(--clr-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

/* === HERO / HEADER === */
.hero {
  background: var(--clr-primary);
  color: var(--clr-white);
  text-align: center;
  padding: 4rem 1rem;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
}

.btn {
  display: inline-block;
  background: var(--clr-white);
  color: var(--clr-primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.88;
}

/* === MAIN CONTENT === */
.content {
  padding: 2rem 1rem;
}

.content__inner {
  min-height: 80vh;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content__inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--clr-primary);
}

.content__inner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--clr-primary);
}

.content__inner p {
  color: var(--clr-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content__inner ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.content__inner ul li {
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 2rem 1rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__col strong {
  display: block;
  color: var(--clr-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer__col a {
  color: var(--clr-white);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--clr-white);
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  text-align: center;
  opacity: 0.5;
}

.footer__col p {
  width: 80%;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .footer__col {
    width: auto;
  }

  .footer__inner {
    flex-direction: column;
  }
}
