html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #f2ffec;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", sans-serif;
}

.page {
  width: 100%;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 450px;
  background: #ffffff;
}

.image-stack {
  line-height: 0;
}

.image-stack img {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 32px 16px 140px;
}

.footer-nav {
  display: grid;
  gap: 14px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

.floating-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  z-index: 50;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-cta img {
  width: 100%;
  height: auto;
  display: block;
}

.exit-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.exit-modal.is-open {
  display: flex;
}

.exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.exit-modal__content {
  position: relative;
  width: min(92vw, 420px);
}

.exit-modal__image {
  width: 100%;
  height: auto;
  display: block;
}

.exit-modal__link {
  display: block;
}
