.home-hero-promise {
  max-width:760px;
  margin-top:20px;
  color:var(--color-primary);
  font-size:17px;
  line-height:1.5;
}

.home-typed-line,
.home-typed-reserve {
  display:grid;
}

.home-typed-reserve,
.home-typed-active,
.home-typed-reserve > span {
  grid-area:1 / 1;
}

.home-typed-reserve {
  visibility:hidden;
  pointer-events:none;
}

.home-typed-cursor {
  display:inline-block;
  width:2px;
  height:.9em;
  margin-left:5px;
  vertical-align:-.1em;
  background:currentColor;
  animation:home-cursor-blink 800ms steps(1) infinite;
}

.home-typed-reserve .home-typed-cursor,
.home-hero-promise.is-paused .home-typed-cursor {
  animation:none;
}

.home-typed-controls {
  display:flex;
  align-items:center;
  gap:4px;
  min-height:36px;
  margin-top:4px;
  visibility:hidden;
}

.home-hero-promise.is-enhanced .home-typed-controls {
  visibility:visible;
}

.home-typed-option,
.home-typed-pause {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--color-primary);
  cursor:pointer;
  font:inherit;
}

.home-typed-option::before {
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#a8afbc;
}

.home-typed-pause[hidden] { display:none; }

.home-typed-option[aria-pressed="true"]::before {
  width:20px;
  background:var(--color-primary);
}

.home-typed-option:hover,
.home-typed-pause:hover {
  background:rgba(255,255,255,.08);
}

.home-typed-option:focus-visible,
.home-typed-pause:focus-visible {
  outline:2px solid currentColor;
  outline-offset:2px;
}

.home-services-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:24px;
}

.home-services-grid > .service-card {
  grid-column:span 2;
}

.home-services-grid > .service-card h3 {
  min-height:2.4em;
  overflow-wrap:break-word;
}

@media (min-width:1025px) {
  .home-services-grid:has(> :last-child:nth-child(3n + 1)) > :last-child {
    grid-column:3 / span 2;
  }

  .home-services-grid:has(> :last-child:nth-child(3n + 2)) > :nth-last-child(2) {
    grid-column:2 / span 2;
  }

  .home-services-grid:has(> :last-child:nth-child(3n + 2)) > :last-child {
    grid-column:4 / span 2;
  }
}

@media (max-width:1024px) {
  .home-hero-promise {
    max-width:760px;
  }
}

@media (min-width:721px) and (max-width:1024px) {
  .home-services-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .home-services-grid > .service-card:last-child:nth-child(odd) {
    grid-column:2 / span 2;
  }
}

@media (max-width:720px) {

  .home-hero-promise {
    font-size:16px;
  }

  .home-services-grid {
    grid-template-columns:minmax(0,1fr);
    grid-auto-rows:auto;
  }

  .home-services-grid > .service-card {
    grid-column:1;
  }

  .home-services-grid > .service-card h3 {
    min-height:0;
  }
}

@keyframes home-cursor-blink {
  0%,48% { opacity:1; }
  49%,100% { opacity:0; }
}

@media (prefers-reduced-motion:reduce) {
  .home-typed-cursor {
    animation:none;
    visibility:hidden;
  }
}
