:root {
  --bg: #fafcf7;
  --panel: #ffffff;
  --text: #4a5568;
  --muted: #626f7d;
  --line: #e2e8d0;
  --line-soft: #f0f4e8;
  --sun: #f0bf4c;
  --shade: #56718c;
  --accent: #76a836;
  --accent-dark: #5a8a2a;
  --accent-soft: #e8f5d6;
  --forest: #0e3f42;
  --forest-soft: #174f50;
  --cream: #f5f1e6;
  --shadow: 0 24px 70px rgba(14, 63, 66, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(rgba(14, 63, 66, 0.1) 0.65px, transparent 0.65px);
  background-size: 8px 8px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
.button {
  font-weight: 500;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--forest);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: 5rem;
  padding: 0.8rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(226, 232, 208, 0.9);
  background: rgba(250, 252, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--forest);
  text-decoration: none;
  font-size: 1.65rem;
  font-weight: 460;
  letter-spacing: -0.05em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.8vw, 2.3rem);
  font-size: 0.9rem;
}

.site-nav a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
  text-decoration-color: transparent;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--forest);
  text-decoration-color: var(--sun);
}

.language-switcher {
  justify-self: end;
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.language-switcher button {
  min-width: 2.5rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--forest);
  background: var(--accent-soft);
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--forest);
}

.hero,
.section-shell,
.impact-inner,
.newsletter-inner,
.site-footer {
  width: min(100% - 2rem, 86rem);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(22rem, 0.97fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-block: clamp(3rem, 8vw, 7.5rem);
}

.hero-copy {
  align-self: end;
  padding-left: 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: var(--forest);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1,
h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.35rem);
  font-weight: 480;
}

.hero-title {
  max-width: 13ch;
}

h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 620;
}

.hero-intro {
  max-width: 40rem;
  margin: 2rem 0 0;
  color: var(--text);
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 10px 24px rgba(14, 63, 66, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--forest-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 63, 66, 0.24);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 38rem;
  margin: 0;
  overflow: hidden;
  border-radius: 12rem 12rem 1.5rem 1.5rem;
  background: var(--accent-soft);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(14, 63, 66, 0.72));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.4rem, 3vw, 2.3rem);
  z-index: 2;
  display: grid;
  width: fit-content;
  max-width: calc(100% - clamp(3rem, 6vw, 5rem));
  padding: 0.55rem 0.85rem;
  border-radius: 0.6rem;
  color: white;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  backdrop-filter: blur(6px);
}

.hero-visual figcaption span {
  font-size: 1.25rem;
  font-weight: 600;
}

.section-shell {
  padding-block: clamp(6rem, 11vw, 11rem);
}

.section-heading-block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
  column-gap: 4rem;
  align-items: end;
}

.section-heading-block h2 {
  max-width: 12ch;
}

.section-heading-block > p:last-child {
  max-width: 35rem;
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 18rem;
  padding: 2.6rem clamp(1.25rem, 3vw, 2.5rem);
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature h3 {
  display: grid;
  place-items: center;
  min-height: 6.4rem;
  padding: 1.1rem 1.3rem;
  border-radius: 4.5rem 4.5rem 0.7rem 0.7rem;
  color: var(--forest);
  background: var(--sun);
  box-shadow: 0 0.4rem 0 var(--accent-soft);
  text-align: center;
}

.feature p {
  margin: 1.2rem 0 0;
}

.feature-prototype {
  width: min(100%, 13rem);
  margin: 2rem auto 0;
}

.feature-prototype img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-prototype figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.impact {
  color: rgba(255, 255, 255, 0.78);
  background: var(--forest);
}

.impact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.8rem, 3vw, 2.8rem);
  padding-block: clamp(5rem, 9vw, 8rem);
  text-align: center;
}

.impact h2 {
  max-width: none;
  color: white;
}

.impact-copy {
  width: 100%;
  max-width: 68rem;
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.65;
  text-align: left;
}

.impact-copy p {
  margin: 0;
}

.impact-copy p + p {
  margin-top: 1em;
}

.ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.ecosystem-gallery {
  position: relative;
  min-height: 45rem;
}

.ecosystem-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--accent-soft);
}

.ecosystem-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main {
  position: absolute;
  inset: 0 17% 12% 0;
  border-radius: 1rem 8rem 1rem 1rem;
}

.gallery-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 46%;
  border: 0.8rem solid var(--bg);
  border-radius: 50% 50% 0.8rem 0.8rem;
  box-shadow: var(--shadow);
}

.ecosystem-copy h2 {
  max-width: 10ch;
}

.ecosystem-copy > p:not(.eyebrow) {
  margin: 1.8rem 0 0;
  font-size: 1.08rem;
}

.ecosystem-principle {
  margin-top: 2.3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-weight: 600;
}

.newsletter {
  width: min(100% - 2rem, 92rem);
  margin-inline: auto;
  color: var(--forest);
  background: var(--sun);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.newsletter .eyebrow {
  color: var(--forest);
}

.newsletter h2 {
  max-width: 10ch;
}

.newsletter-copy > p:last-child {
  max-width: 38rem;
  margin: 1.5rem 0 0;
}

.signup-form {
  display: grid;
  gap: 0.8rem;
}

.signup-form > label:first-child {
  font-size: 0.9rem;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.signup-row input[type="email"] {
  min-width: 0;
  min-height: 3.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(14, 63, 66, 0.35);
  border-right: 0;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.signup-row input[type="email"]:focus {
  box-shadow: inset 0 0 0 2px var(--forest);
}

.signup-row button {
  min-height: 3.75rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--forest);
  color: white;
  background: var(--forest);
  cursor: pointer;
  transition: background 160ms ease;
}

.signup-row button:hover,
.signup-row button:focus-visible {
  background: var(--forest-soft);
}

.signup-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.5;
}

.consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--forest);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 3rem;
  align-items: end;
  padding-block: 4rem 2.4rem;
}

.brand-footer {
  margin-bottom: 0.8rem;
}

.footer-brand p,
.legal p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-brand p {
  max-width: 24rem;
  color: var(--muted);
}

.contact {
  justify-self: center;
}

.contact-placeholder {
  color: var(--forest);
  font-size: 0.86rem;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.3rem;
}

.legal {
  text-align: right;
}

.legal p:last-child {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 2.5rem;
  }

  .hero-visual {
    min-height: 33rem;
  }

  .section-heading-block,
  .ecosystem,
  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .section-heading-block > p:last-child {
    margin-top: 1.5rem;
  }

  .ecosystem-gallery {
    min-height: 38rem;
  }

  .ecosystem-copy {
    max-width: 45rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    justify-self: end;
  }

  .legal {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 4.35rem;
    padding-inline: 1rem;
  }

  .brand {
    font-size: 1.4rem;
  }

  .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
  }

  .brand-mark img {
    width: 100%;
    height: 100%;
  }

  .language-switcher button {
    min-width: 2.2rem;
    padding-inline: 0.4rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 3.5rem 5rem;
  }

  .hero-copy {
    align-self: auto;
    padding-left: 0;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
  }

  .hero-visual {
    min-height: 31rem;
    border-radius: 8rem 8rem 1rem 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
    padding: 2rem 0 2.5rem;
  }

  .feature + .feature {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature h3 {
    min-height: 5.6rem;
  }

  .ecosystem-gallery {
    min-height: 31rem;
  }

  .gallery-main {
    inset: 0 10% 14% 0;
  }

  .gallery-detail {
    width: 50%;
    height: 42%;
  }

  .newsletter {
    width: 100%;
  }

  .newsletter-inner {
    width: min(100% - 2rem, 86rem);
  }

  .signup-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .signup-row input[type="email"] {
    border-right: 1px solid rgba(14, 63, 66, 0.35);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact {
    justify-self: start;
  }

  .legal {
    grid-column: auto;
    display: grid;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
