.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(780px, 100svh);
  padding-top: calc(var(--mast-top) + var(--mast-height));
  background: radial-gradient(ellipse at 50% 42%, #fff, #fcfcff 43%, #f2f2fa 81%, #e6e9f4);
  box-shadow: inset 0 -1px #1f233414;
}
#hero-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero-copy {
  align-self: center;
  text-align: center;
  padding: clamp(62px, 7vh, 95px) 18px 49px;
  max-width: min(1220px, 100%);
  margin: auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #5148975c;
  border-radius: 100px;
  padding: 8px 16px;
  color: #4e4786;
  background: #f8f8fcc2;
  line-height: 1.04;
  font-size: 11px;
  font-weight: 640;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(66px, 6.5vw, 110px);
  font-weight: 560;
  letter-spacing: -.079em;
  line-height: .96;
  margin: 25px auto 23px;
}
.hero h1 span, .hero h1 em { display: block }
.hero h1 em {
  color: var(--violet);
  letter-spacing: -.052em;
  font-size: 1.17em;
  line-height: 1.04;
}
.hero-lead {
  color: #454b60;
  font-size: clamp(17px, 1.34vw, 23px);
  line-height: 1.54;
  letter-spacing: -.025em;
  max-width: 540px;
  margin: auto;
  text-wrap: balance;
}
.hero-lead strong { color: #292d46; font-weight: 590 }
.hero .main-cta {
  min-height: 52px;
  padding: 0 32px;
  margin-top: 27px;
  font-size: 16px;
  font-weight: 610;
  letter-spacing: -.018em;
  box-shadow: 0 4px 11px #171d3617;
}
.hero-services {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 110px;
  margin: 0;
  padding: 10px 68px clamp(42px, 8vh, 84px);
}
.hero-services li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  background: #ffffffdf;
  border: 1px solid #e1e2ed;
  border-radius: 99px;
  box-shadow: 0 2px 6px #22244108;
  color: #30334c;
  font-size: 14px;
  font-weight: 530;
  letter-spacing: -.018em;
}
.hero-services svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #60549b;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frame-toggle {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #ffffffdd;
  color: #222940;
  border: 1px solid #5860874d;
  border-radius: 50%;
  box-shadow: 0 2px 12px #242b4612;
}
.frame-toggle svg { width: 17px; height: 17px }
.frame-toggle:not([data-paused]) .frame-play-icon,
.frame-toggle[data-paused] .frame-pause-icon { display: none }

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(7px) }
    to { opacity: 1; transform: translateY(0) }
  }
  .hero-copy { animation: hero-enter .7s ease-out both }
  .hero-services { animation: hero-enter .65s .13s ease-out both }
  .hero-copy:focus-within { animation: none }
}
@media (max-width: 850px) {
  .hero { min-height: max(720px, 100svh) }
  .hero h1 { font-size: clamp(59px, 7.8vw, 73px) }
  .hero-services { padding-inline: 48px }
  .hero-services li { font-size: 13px; padding: 10px 13px }
}
@media (max-width: 680px) {
  .hero { min-height: max(690px, 100svh) }
  .hero-copy { padding: 57px 17px 38px }
  .hero-eyebrow { font-size: 9px; letter-spacing: .115em; padding: 8px 13px }
  .hero h1 { font-size: clamp(45px, 11vw, 70px); margin: 24px auto 19px; letter-spacing: -.076em }
  .hero h1 em { font-size: 1.01em; letter-spacing: -.045em }
  .hero-lead { font-size: 16px; max-width: 82%; line-height: 1.5 }
  .hero .main-cta { min-height: 47px; font-size: 15px; margin-top: 24px }
  .hero-services { width: 100%; max-width: 467px; gap: 6px; min-height: 113px; padding: 0 36px 68px; margin: auto }
  .hero-services li { font-size: 11px; padding: 8px 10px; gap: 5px }
  .hero-services svg { width: 14px; height: 14px }
  .frame-toggle { bottom: 12px; right: 13px }
}
@media (max-width: 350px) {
  .hero h1 { font-size: 40px }
  .hero-lead { font-size: 15px }
  .hero-services { padding-inline: 17px }
  .hero-services li { font-size: 10px }
  .mast .nav-cta { display: none }
}
