:root {
  --bg-top: #fbfdfb;
  --bg-bottom: #eff6ef;
  --text: #1f2521;
  --muted: #66756c;
  --green: #245b45;
  --green-2: #2e6b51;
  --soft: #e6f1e7;
  --line: #dbe7dc;
  --card: rgba(255,255,255,.84);
  --shadow: 0 18px 48px rgba(24,65,47,.10);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 18% 0%, rgba(111,174,102,.18), transparent 28rem),
    radial-gradient(circle at 100% 14%, rgba(36,91,69,.08), transparent 28rem),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body {
  margin: 0;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
}

a { color: inherit; }

.site {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(26,70,50,.08);
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.brand span {
  color: var(--green);
  font-size: 1.85rem;
  font-weight: 850;
  letter-spacing: -.04em;
}

.nav a {
  color: var(--muted);
  font-size: .97rem;
  font-weight: 760;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: center;
  gap: 52px;
}

.hero-copy { min-width: 0; }

h1 {
  margin: 0;
  max-width: 650px;
  color: var(--green);
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.intro {
  margin: 24px 0 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
  font-weight: 520;
}

.store-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.store-link {
  display: inline-block;
  line-height: 0;
}

.store-link img {
  display: block;
  height: 66px;
  width: auto;
}


/* No image is present here by default.
   It is added only for desktop screens below. */
.desktop-visual {
  display: none;
}

@media (min-width: 921px) {
  .desktop-visual {
    display: block;
    width: 350px;
    height: 500px;
    justify-self: end;
    border-radius: 24px;
    border: 1px solid rgba(36,91,69,.10);
    box-shadow: 0 18px 44px rgba(24,65,47,.12);
    background:
      #f8f6ef url("assets/tilfra-phone-home.png") center center / cover no-repeat;
  }
}

.job { margin-top: 34px; }

.job h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-align: center;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.job article,
.trust {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.job article { padding: 18px 20px 20px; }

.job-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.job span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green-2);
  font-size: 1rem;
  font-weight: 900;
  flex: 0 0 34px;
}

.job h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.job p,
.trust p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 540;
}

.trust {
  margin-top: 16px;
  padding: 24px 26px;
  text-align: center;
}

.trust p {
  max-width: 840px;
  margin: 0 auto;
}

footer {
  margin-top: 24px;
  padding-top: 6px;
  text-align: center;
}

footer p { margin: 0; }

.contact {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact a { text-decoration: none; }

.copyright {
  margin-top: 8px;
  color: var(--muted);
  font-size: .98rem;
  font-weight: 650;
}

@media (max-width: 920px) {
  .site {
    width: min(100% - 34px, 680px);
    padding-top: 18px;
  }

  .topbar { margin-bottom: 34px; }
  .nav { display: none; }

  .hero {
    display: block;
  }

  .desktop-visual {
    display: block;
    width: min(100%, 430px);
    aspect-ratio: 851 / 877;
    height: auto;
    margin: 28px auto 0;
    border-radius: 24px;
    border: 1px solid rgba(36,91,69,.10);
    box-shadow: 0 18px 44px rgba(24,65,47,.12);
    background: #f8f6ef url("assets/tilfra-phone-home.png") center center / cover no-repeat;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .intro {
    margin-top: 18px;
    font-size: 1.12rem;
  }

  .store-links {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .job-grid {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
  }

  .job article {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .site {
    width: calc(100% - 30px);
  }

  .brand {
    gap: 14px;
    padding: 11px 18px 11px 11px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 1.8rem;
  }

  h1 {
    font-size: clamp(2.3rem, 12.5vw, 3rem);
  }

  .intro {
    font-size: 1rem;
    line-height: 1.5;
  }

  .store-link img {
    height: 48px;
  }

  .job-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .job article {
    width: 100%;
  }

  .trust {
    padding: 20px;
  }

  .store-links {
    gap: 8px;
  }

  .store-link img {
    height: 44px;
  }
}
