.teamz {
  --teamz-green: #154735;
  --teamz-deep: #153229;
  --teamz-mint: #d9f2ca;
  --teamz-border: #d9e1da;
  color: #17251e;
}

.teamz-wrap {
  width: min(100%, 1400px);
  margin-inline: auto;
  padding-inline: clamp(22px, 6vw, 88px);
}

.teamz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(42px, 6vw, 92px);
}

.teamz-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.teamz .teamz-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--teamz-green);
  font-size: 13px;
}

.teamz-brand span {
  padding-inline-start: 10px;
  border-inline-start: 1px solid #b5c4bb;
  color: #53645b;
  font-size: 11px;
}

.teamz-hero h1 {
  max-width: 14ch;
  font-size: clamp(45px, 5.1vw, 76px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
}

.teamz-hero h1 em {
  color: var(--teamz-green);
  font-style: normal;
}

.teamz .teamz-intro {
  max-width: 46ch;
  margin-top: 25px;
  color: #43584c;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}

.teamz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 26px;
}

.teamz-button,
.teamz-text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.teamz .teamz-button {
  min-height: 50px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--teamz-green);
  color: #fff;
  transition: background-color 160ms ease;
}

.teamz .teamz-button:hover {
  background: #0c3124;
}

.teamz-text-link,
.teamz-email,
.teamz-link-label {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.teamz-text-link:hover,
.teamz-email:hover,
.teamz-featured:hover .teamz-link-label {
  text-decoration-thickness: 2px;
}

.teamz-featured {
  display: block;
  overflow: hidden;
  border: 1px solid var(--teamz-border);
  border-radius: 22px;
  background: #f6f8f4;
}

.teamz-featured-art {
  overflow: hidden;
  padding: clamp(15px, 2vw, 26px) clamp(15px, 2vw, 26px) 0;
  background:
    radial-gradient(ellipse at 75% 100%, #b8dbad, transparent 75%),
    radial-gradient(circle, #7baa8c 1px, transparent 1px) 0 0 / 18px 18px,
    #dceee0;
}

.teamz-featured-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  color: #254435;
  font-size: 11px;
  font-weight: 700;
}

.teamz-screens {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  height: clamp(208px, 24vw, 352px);
  margin-top: 20px;
}

.teamz-screen {
  align-self: start;
  width: min(41%, 204px);
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px #193d3a46;
}

.teamz-screen + .teamz-screen {
  margin-top: 20px;
}

.teamz-screen--dashboard img {
  /* Start the preview at the dashboard heading, below the demo account name. */
  margin-top: -13%;
}

.teamz-featured-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 16px clamp(15px, 2vw, 26px);
}

.teamz-featured-caption h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.teamz-featured-caption p {
  margin-top: 4px;
  color: #43584c;
  font-size: 13px;
}

.teamz-link-label {
  color: var(--teamz-green);
  font-size: 13px;
  font-weight: 700;
}

.teamz-services {
  border-block: 1px solid var(--teamz-border);
  background: #f4f7f2;
}

.teamz-section {
  padding-block: clamp(46px, 6vw, 84px);
}

.teamz-heading {
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.teamz-service-grid,
.teamz-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  margin-top: 30px;
}

.teamz-service-grid article {
  padding: 17px 0 0;
  border-top: 1px solid #91a697;
}

.teamz-service-grid h3,
.teamz-project h3 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.teamz-service-grid article p,
.teamz-project-copy p:last-child {
  margin-top: 9px;
  color: #43584c;
  font-size: 14px;
  line-height: 1.7;
}

.teamz-anchor {
  scroll-margin-top: 96px;
}

.teamz-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 4px 22px;
}

.teamz-project a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--teamz-border);
  border-radius: 16px;
  background: #fff;
}

.teamz-project h3 {
  text-decoration: underline;
  text-decoration-color: #9ab7a6;
  text-underline-offset: 4px;
}

.teamz-project a:hover h3 {
  text-decoration-color: var(--teamz-green);
}

.teamz-project-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e4eee3;
}

.teamz-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teamz-project-image--exatone img {
  /* Frame the phone, which appears on the left of the source image. */
  object-position: 23% center;
  transform: scale(1.23);
  transform-origin: left center;
}

.teamz-project-image--cyinov img {
  transform: scale(1.18);
  transform-origin: left center;
}

.teamz-project-copy {
  padding: 18px clamp(15px, 2vw, 23px) 21px;
}

.teamz-project-copy .teamz-label {
  margin-bottom: 7px;
  color: #4e6255;
}

.teamz-contact {
  background: var(--teamz-deep);
  color: #f7fbf4;
}

.teamz-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px 40px;
}

.teamz-contact-inner p {
  max-width: 49ch;
  margin-top: 16px;
  color: #dfebdf;
}

.teamz-contact-actions {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.teamz-contact .teamz-button {
  background: var(--teamz-mint);
  color: var(--teamz-deep);
}

.teamz-contact .teamz-button:hover {
  background: #edf8e6;
}

.teamz-email {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #f7fbf4;
  font-size: 14px;
}

.teamz :where(a):focus-visible {
  outline: 3px solid #237853;
  outline-offset: 4px;
}

.teamz-contact a:focus-visible {
  outline-color: var(--teamz-mint);
}

@media (max-width: 760px) {
  .teamz-hero,
  .teamz-service-grid,
  .teamz-project-grid {
    grid-template-columns: 1fr;
  }

  .teamz-hero h1 {
    font-size: clamp(40px, 9vw, 61px);
  }

  .teamz-screens {
    height: clamp(200px, 57vw, 310px);
  }

  .teamz-service-grid {
    gap: 20px;
  }

  .teamz-project-grid {
    gap: 18px;
    margin-top: 16px;
  }
}


.teamz-form {
  display: grid;
  flex: 1 1 min(100%, 380px);
  max-width: 560px;
  gap: 9px;
}

.teamz-form label {
  font-weight: 600;
}

.teamz-form :is(input, textarea) {
  min-width: 0;
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid #b5c4bb;
  border-radius: 9px;
  padding: 12px;
  background: #fff;
  color: var(--teamz-deep);
  font: inherit;
}

.teamz-form textarea {
  resize: vertical;
}

.teamz-form .teamz-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.teamz-form button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.teamz-form button:disabled {
  opacity: .75;
  cursor: wait;
}

.teamz-form :is(input, textarea, button, [role="status"]):focus-visible {
  outline: 3px solid var(--teamz-mint);
  outline-offset: 3px;
}

.teamz-form .teamz-form-feedback {
  margin-top: 0;
}

.teamz-form-feedback:empty {
  display: none;
}
