
:root {
  --color-dark: #101410;
  --color-green: #65d837;
  --color-light: #f1f4ef;
  --color-text: #303830;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-light);
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  padding: 48px 0;
  background: var(--color-dark);
  color: white;
  border-bottom: 5px solid var(--color-green);
}

.team-label,
.eyebrow {
  color: var(--color-green);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.12em;
}

.site-header h1 {
  margin: 8px 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
}

.welcome {
  max-width: 760px;
  margin: 64px auto;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.welcome h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

button {
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--color-green);
  color: var(--color-dark);
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.08);
}

button:focus-visible {
  outline: 3px solid var(--color-dark);
  outline-offset: 4px;
}

.site-footer {
  padding: 24px 0;
  background: var(--color-dark);
  color: white;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .welcome {
    margin: 32px auto;
    padding: 22px;
  }
}


/* ===== Navigation and team branding ===== */

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: white;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: white;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-green);
}

.site-nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 5px;
  border-radius: 2px;
}

/* Stack the brand and links on narrower screens. */
@media (max-width: 700px) {
  .site-header .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 12px 16px;
  }
}


/* ===== Homepage hero ===== */

.hero {
  padding: 100px 0;
  color: white;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(101, 216, 55, 0.18),
      transparent 35%
    ),
    var(--color-dark);
  border-bottom: 5px solid var(--color-green);
}

.hero-content {
  max-width: 1100px;
}

.hero h2 {
  max-width: 850px;
  margin: 18px 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 650px;
  color: #d5ddd2;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border: 2px solid var(--color-green);
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button-primary {
  color: var(--color-dark);
  background: var(--color-green);
}

.button-secondary {
  color: white;
  background: transparent;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  background: #80ed56;
}

.button-secondary:hover {
  color: var(--color-dark);
  background: var(--color-green);
}

.button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

/* ===== Content sections ===== */

.content-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.content-section h2 {
  max-width: 800px;
  margin: 10px 0 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}

.content-section p:not(.eyebrow) {
  max-width: 760px;
}

.content-section-alt {
  background: #e5eae2;
}

.section-note {
  color: #596458;
  font-size: 0.9rem;
}

/* ===== Smaller screens ===== */

@media (max-width: 600px) {
  .hero {
    padding: 68px 0;
  }

  .hero h2 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .content-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    text-align: center;
  }
}


/* ===== Homepage highlights and reusable cards ===== */

.highlights-section {
  padding: 76px 0;
  background: #ffffff;
}

.section-heading {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 32px;
  color: #596458;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.content-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 26px;
  border: 1px solid #dce3d8;
  border-top: 4px solid var(--color-green);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 20, 16, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 20, 16, 0.1);
}

.card-number {
  margin: 0 0 12px;
  color: #397c25;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.content-card h3 {
  margin: 0 0 12px;
  color: var(--color-dark);
  font-size: 1.3rem;
  line-height: 1.3;
}

.content-card > p:not(.card-number) {
  margin-top: 0;
  color: #596458;
}

.card-link {
  margin-top: auto;
  padding-top: 12px;
  color: #286d1a;
  font-weight: bold;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.card-link:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Two columns on tablets and small laptops. */
@media (max-width: 850px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* One column on phones. */
@media (max-width: 560px) {
  .highlights-section {
    padding: 52px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-card {
    padding: 22px;
  }
}

/* Respect visitors who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
  .content-card {
    transition: none;
  }

  .content-card:hover {
    transform: none;
  }
}
