.ertia-demo-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
}

.ertia-demo-links a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.hero-actions + .ertia-demo-links {
  margin-top: 1.25rem;
  color: #791038;
}

.ertia-demo-footer {
  justify-content: center;
  margin: 1.5rem auto 0;
  padding: .8rem 1rem;
  font-size: .9rem;
  text-align: center;
}

.ertia-demo-prompt[hidden] { display: none !important; }
.ertia-demo-prompt {
  box-sizing: border-box;
  position: fixed;
  inset: auto max(1rem, env(safe-area-inset-right)) calc(5.25rem + env(safe-area-inset-bottom, 0px)) auto;
  z-index: 70;
  width: min(24rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 7rem);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid #e7d4dd;
  border-top: 4px solid #94163d;
  border-radius: 1rem;
  background: #fff;
  color: #132338;
  box-shadow: 0 12px 38px rgb(28 21 30 / 18%);
  font: 400 1rem/1.5 system-ui, sans-serif;
  text-align: left;
}

.ertia-demo-prompt button {
  position: absolute;
  inset: .5rem .5rem auto auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: #faeef2;
  color: #791038;
  font: 600 1.25rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.ertia-demo-prompt h2 {
  margin: 0 1.5rem .55rem 0;
  color: inherit;
  font: 750 1.25rem/1.25 system-ui, sans-serif;
}

.ertia-demo-prompt p { margin: 0 0 .8rem; }
.ertia-demo-prompt a { color: #791038; }
.ertia-demo-prompt :focus-visible { outline: 2px solid #94163d; outline-offset: 3px; }

@media print {
  .ertia-demo-prompt { display: none !important; }
}
