:root {
  --canvas: 430px;
  --ink: #101522;
  --yellow: #ffe300;
  --black: #05070c;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(36, 231, 241, .08), transparent 34rem),
    #080b13;
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lp-shell {
  width: min(100%, var(--canvas));
  margin: 0 auto;
  background: var(--ink);
  box-shadow: 0 0 40px rgba(0, 0, 0, .45);
  padding-bottom: 84px;
}

.slice {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.slice img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.hotspot {
  position: absolute;
  display: block;
  z-index: 3;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus-visible,
.fixed-cta:focus-visible,
.modal__button:focus-visible,
.modal__close:focus-visible {
  outline: 3px solid #24e7f1;
  outline-offset: 3px;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  width: min(calc(100% - 32px), 390px);
  min-height: 58px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
  background: var(--yellow);
  border: 4px solid var(--black);
  border-radius: 999px;
  box-shadow:
    0 0 0 4px var(--white),
    0 8px 0 rgba(0, 0, 0, .55);
}

.fixed-cta span {
  display: block;
  padding: 0 16px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68);
}

.modal__panel {
  position: relative;
  width: min(100%, 360px);
  color: var(--black);
  background: var(--white);
  border: 5px solid var(--black);
  border-radius: 18px;
  padding: 26px 22px 22px;
  box-shadow: 0 0 0 5px var(--yellow), 0 18px 50px rgba(0, 0, 0, .55);
  line-height: 1.7;
}

.modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 4px solid var(--black);
  border-radius: 999px;
  background: #ff3b8f;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.modal__eyebrow {
  margin: 0 0 6px;
  color: #1268d8;
  font-size: 13px;
  font-weight: 900;
}

.modal h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.modal p {
  margin: 0 0 18px;
  font-size: 15px;
}

.modal__button {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  body {
    padding: 24px 0;
  }

  .lp-shell {
    border-radius: 18px;
    overflow: hidden;
  }
}
