/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/oxygen-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/oxygen-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/oxygen-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/oxygen-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/oxygen-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/oxygen-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Variable weight axis, 200-700. */
@font-face {
  font-family: "Yanone Kaffeesatz";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/fonts/yanone-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Yanone Kaffeesatz";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/fonts/yanone-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Variable weight axis, 300-900, with a true italic. */
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/sofia-sans-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/sofia-sans-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/sofia-sans-var-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/sofia-sans-var-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------- tokens */

:root {
  --bg: #ffffff;
  --tint: #f1f7f2;
  --green: #37704a;
  --green-dark: #2f6040;
  --green-soft: #a8d5b5;
  --green-line: #d9ebdf;
  --ink: #1b291f;
  --ink-muted: #5a6b60;

  --body: "Oxygen", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Yanone Kaffeesatz", "Oxygen", system-ui, sans-serif;
  --accent: "Sofia Sans", "Oxygen", system-ui, sans-serif;

  --wrap: 68rem;
  --gap: 2rem;
  --band-y: 5.5rem;
  --radius: 14px;
}

/* ---------------------------------------------------------------- reset */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* -------------------------------------------------------------- helpers */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10;
  text-decoration: none;
}
.skip:focus { left: 0; color: #fff; }

.eyebrow,
.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.tagline {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1875rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--green);
  margin: 0 0 1.5rem;
}

.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.button:hover { background: var(--green-dark); color: #fff; }

.button--ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 2px var(--green-soft);
}
.button--ghost:hover { background: var(--tint); color: var(--green-dark); }

/* ------------------------------------------------------------ site head */

.site-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--accent);
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green);
  text-decoration: none;
}
.wordmark--small { font-size: 1.375rem; }

.nav {
  display: flex;
  gap: 1.5rem;
  margin-inline-start: auto;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--green); border-bottom-color: var(--green-soft); }

.lang {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--green-line);
  white-space: nowrap;
}
.lang:hover { background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--green-soft); }

.nav + .lang { margin-inline-start: 0; }
.site-head__inner > .lang:first-of-type { margin-inline-start: auto; }

/* ----------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(3rem, 2rem + 6vw, 6rem) var(--band-y);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--tint), transparent 70%),
    var(--bg);
}

.hero__text { max-width: 44rem; }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.75rem, 1.8rem + 4.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--ink-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

/* ---------------------------------------------------------------- bands */

.band { padding-block: var(--band-y); }
.band--tint { background: var(--tint); }

.band__text { max-width: 40rem; }

.band h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.band p { margin: 0 0 1.5rem; max-width: 34rem; }

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.points li {
  position: relative;
  padding-inline-start: 1.75rem;
  color: var(--ink-muted);
}

.points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  background: var(--green-soft);
}

/* -------------------------------------------------------------- contact */

.contact {
  padding-block: var(--band-y);
  border-top: 1px solid var(--green-line);
}

.contact__inner { max-width: 40rem; }

.contact h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.contact p { color: var(--ink-muted); margin: 0 0 2rem; }

.contact__actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.75rem;
  flex-wrap: wrap;
  margin: 0;
}

.contact__email {
  font-weight: 700;
  color: var(--green);
}

/* ------------------------------------------------------------ site foot */

.site-foot {
  background: var(--tint);
  padding-block: 2rem;
}

.site-foot__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem var(--gap);
  flex-wrap: wrap;
}

.site-foot__brand { margin-inline-end: auto; }

/* Company name and contact address. Apple looks for these on a business site. */
.site-foot__legal {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.site-foot__legal span:first-child { font-weight: 700; color: var(--ink); }

.site-foot__note {
  color: var(--ink-muted);
  font-size: 0.875rem;
  margin: 0;
  align-self: flex-end;
}

/* ------------------------------------------------------------------ 404 */

.notfound { padding-block: clamp(4rem, 3rem + 8vw, 9rem); }
.notfound__inner { max-width: 40rem; }
.notfound__links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----------------------------------------------------------- small screens */

@media (max-width: 52rem) {
  :root { --band-y: 3.5rem; }

  .site-head { position: static; }

  .site-head__inner {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding-block: 0.9rem;
  }

  .nav { order: 3; width: 100%; gap: 1.25rem; margin-inline-start: 0; }
  .site-head__inner > .lang:first-of-type,
  .nav + .lang { margin-inline-start: auto; }

  .site-foot__inner { gap: 1rem 1.25rem; }
  .site-foot__brand { flex-basis: 100%; margin-inline-end: 0; }
  .site-foot__note { flex-basis: 100%; order: 3; align-self: flex-start; }
}
