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

:root {
  --color-bg: #ffffff;
  --color-text: #0d0d0d;
  --color-muted: #555;
  --color-accent-mint: #d6f0e0;
  --color-accent-lavender: #e6e0f5;
  --color-accent-peach: #fde8d8;
  --color-accent-sky: #d8edfb;
  --color-warm-sand: #f5f1e8;
  --color-forest: #4a7c59;
  --color-sage: #5a9269;
  --color-ocean: #2d6b7f;
  --font-body: system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */

header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-text);
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}


/* Main */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

/* Hero */

.hero {
  padding: 5rem 0 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-sage);
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-text);
  transition: background 0.15s, color 0.15s;
}

.btn-primary:hover {
  background: var(--color-text);
  color: #fff;
}

/* Divider */

.section-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0 0 2rem;
}

/* Intro */

.intro {
  margin-bottom: 4rem;
}

.intro-text p {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: var(--color-text);
  max-width: 60ch;
}

.intro-text p + p {
  margin-top: 1.25rem;
}

.intro-text .btn-primary {
  margin-top: 2rem;
}

/* Page image */

.page-image {
  margin-bottom: 4rem;
}

.page-image img {
  width: 100%;
  border-radius: 1.5rem;
  background: var(--color-accent-mint);
}

/* Footer */

footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #f0f0f0;
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

}
