:root {
  --green-950: #05170f;
  --green-900: #0a2a1c;
  --green-800: #0f3d29;
  --green-700: #164f34;
  --green-600: #1f6b45;
  --green-500: #2f8a5a;
  --white: #ffffff;
  --off-white: #f4f8f6;
  --ink: #0d1f16;
  --muted: #4b6156;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.site-nav__logo {
  height: 32px;
  width: 32px;
}

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

.site-nav__links {
  display: flex;
  gap: 28px;
}

.site-nav__links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-nav__links a:hover {
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--green-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
}

.hero__content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__logo {
  height: 72px;
  width: 72px;
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--off-white);
  margin: 0;
  max-width: 620px;
}

.hero__slogan {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-500);
}

.hero__cta {
  margin-top: 24px;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero__cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Page content ---------- */

.page {
  padding: 96px 0;
}

.page :is(h2, h3) {
  color: var(--green-800);
  scroll-margin-top: 96px;
}

.page h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 20px;
}

.page h2:not(:first-child) {
  margin-top: 72px;
}

.page p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
}

.page strong {
  color: var(--ink);
}

.page code {
  background: var(--off-white);
  color: var(--green-700);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.page ul {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.page ul li {
  background: var(--off-white);
  border: 1px solid rgba(15, 61, 41, 0.08);
  border-left: 3px solid var(--green-600);
  border-radius: 10px;
  padding: 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.page ul li strong {
  display: block;
  color: var(--green-800);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-950);
  color: var(--off-white);
  padding: 40px 24px;
}

.site-footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.site-footer__logo {
  height: 24px;
  width: 24px;
  filter: brightness(0) invert(1);
}

@media (max-width: 640px) {
  .site-nav__links {
    display: none;
  }
}
