/* space-grotesk-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/space-grotesk-v22-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* space-grotesk-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/space-grotesk-v22-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/manrope-v20-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/manrope-v20-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/manrope-v20-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  src: url("./fonts/manrope-v20-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
  --green: #a6ce39;
  --green-light: #bfe25c;
  --green-dark: #6f9420;
  --dark: hsl(160deg 2.68% 23%);
  --ink: #1c2126;
  --body: #48525b;
  --on-dark: #eef1f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

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

::selection {
  background: var(--green);
  color: #101418;
}

h1, h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: #fff;
  border-bottom: 1px solid rgba(28, 33, 38, 0.08);
  animation: nav-shadow linear both;
  animation-timeline: scroll();
  animation-range: 0 120px;
}

@keyframes nav-shadow {
  from {
    box-shadow: 0 4px 16px rgba(28, 33, 38, 0);
  }
  to {
    box-shadow: 0 4px 16px rgba(28, 33, 38, 0.12);
  }
}
.nav-logo img {
  height: 44px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  color: var(--body);
}

.nav-links a:hover {
  color: var(--ink);
}

/* Buttons */
.btn, a.btn {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #14181c;
  font-weight: 800;
  border-radius: 999px;
}

.btn:hover {
  background: var(--green-light);
  color: #14181c;
}

.btn-sm {
  font-size: 15px;
  padding: 9px 20px;
}

.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
  box-shadow: 0 8px 24px rgba(166, 206, 57, 0.25);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 48px;
  background: var(--dark);
  color: #f3f5f4;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #eaf3cf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  text-wrap: pretty;
  color: #fff;
}

.hero h1 span {
  color: var(--green-light);
}

.hero p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--on-dark);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.hero-img {
  align-self: center;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.hero-img img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero-cta-mobile {
  display: none;
  justify-content: center;
  margin-top: 32px;
}

/* Sections */
.section {
  padding: 96px 48px;
}

.section-alt {
  background: #f6f7f4;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}

.section h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--body);
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.section-body p {
  margin: 0;
}

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

#jobs .section-body {
  gap: 24px;
}

#press .section-body {
  gap: 28px;
}

/* Press logos */
.press-logos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.press-logos a {
  background: #fff;
  border: 1px solid rgba(28, 33, 38, 0.12);
  border-radius: 14px;
  padding: 32px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-logos a:hover {
  border-color: var(--green);
}

.press-logos img {
  width: 300px;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Footer */
.footer {
  padding: 96px 48px 48px;
  background: var(--dark);
  color: #e8ecef;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
  text-align: center;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer h2 {
  font-size: 40px;
  font-weight: 700;
}

.footer-contact a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--green);
}

.footer-contact a:hover {
  color: var(--green-light);
}

.footer-map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.35);
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  font-size: 14px;
  color: #8a949e;
}

/* Mobile */
@media (max-width: 980px) {
  .nav {
    position: static;
    justify-content: center;
    padding: 14px 20px;
    animation: none;
    box-shadow: none;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 56px 24px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .hero-cta {
    display: none;
  }
  .hero-cta-mobile {
    display: flex;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero p {
    font-size: 17px;
  }
  .section {
    padding: 64px 24px;
  }
  .section-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .section h2, .footer h2 {
    font-size: 32px;
  }
  .press-logos {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  .press-logos a {
    padding: 16px;
    height: 120px;
  }
  .footer {
    padding: 64px 24px 40px;
  }
  .footer-map iframe {
    height: 280px;
  }
  .footer-contact a {
    font-size: 21px;
  }
}
