:root {
  color-scheme: light;
  --ink: #14251e;
  --muted: #6d7b75;
  --line: #dce5df;
  --green: #087a4b;
  --green-dark: #05643d;
  --mint: #e7f6ed;
  --paper: #fbfcfa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 43%, rgba(218, 242, 227, .68), transparent 30rem),
    var(--paper);
  font-family: "DM Sans", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(8, 122, 75, .07);
  border-radius: 50%;
  pointer-events: none;
}

body::before { top: -15rem; left: -10rem; }
body::after { right: -13rem; bottom: -16rem; }

a { color: inherit; text-decoration: none; }

.site-header {
  width: 100%;
  padding: 1.7rem clamp(1.25rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: "Manrope", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.mini-logo__mark {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--mint);
}

nav { display: flex; align-items: center; gap: 1.9rem; }
nav a { color: #53615b; font-size: .88rem; font-weight: 500; }
nav a:hover { color: var(--green); }

.nav-cta {
  padding: .64rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}

main { display: grid; place-items: center; padding: 3rem 1.25rem 7rem; }

.hero {
  width: min(100%, 48rem);
  text-align: center;
  animation: rise .7s cubic-bezier(.2,.75,.25,1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow span { width: 1.65rem; height: 1px; background: currentColor; }

h1 {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.2rem, 12vw, 7.3rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.075em;
}

.title-mark {
  width: .16em;
  height: .16em;
  margin: 0 0 .13em .09em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 .065em var(--mint);
}

.subtitle {
  margin: 1.35rem 0 2.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: .48rem .48rem .48rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 35px rgba(22, 63, 43, .08), 0 2px 5px rgba(22, 63, 43, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.search:focus-within {
  border-color: rgba(8, 122, 75, .55);
  box-shadow: 0 16px 45px rgba(22, 63, 43, .13), 0 0 0 4px rgba(8,122,75,.07);
  transform: translateY(-2px);
}

.search__icon { display: grid; place-items: center; color: var(--green); }
.search__icon svg { width: 1.45rem; stroke: currentColor; stroke-width: 1.7; }

.search input {
  min-width: 0;
  flex: 1;
  height: 3.55rem;
  padding: 0 1rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1rem "DM Sans", sans-serif;
}

.search input::placeholder { color: #94a099; }

.search button {
  height: 3.55rem;
  padding: 0 1.45rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 0;
  border-radius: .86rem;
  color: white;
  background: var(--green);
  font: 700 .92rem "DM Sans", sans-serif;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.search button:hover { background: var(--green-dark); }
.search button:active { transform: scale(.97); }
.search button svg { width: 1rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.hint {
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  color: #89958f;
  font-size: .78rem;
}

.hint svg { width: .95rem; stroke: currentColor; stroke-width: 1.4; }
.feedback { min-height: 1.4rem; margin-top: .9rem; color: var(--green); font-size: .88rem; font-weight: 600; }

footer {
  padding: 1.45rem clamp(1.25rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  color: #8a958f;
  font-size: .76rem;
}

footer p { margin: 0; }
footer div { display: flex; gap: .75rem; }
footer a:hover { color: var(--green); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  nav a:first-child { display: none; }
  .site-header { padding-top: 1.2rem; }
  main { padding-bottom: 3rem; }
  .search { padding-left: 1rem; }
  .search button { width: 3.55rem; padding: 0; justify-content: center; }
  .search button span { display: none; }
  footer { align-items: center; flex-direction: column; gap: .8rem; }
}

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