:root {
  color-scheme: light;
  --snow: #f8fbfa;
  --fjord: #173f52;
  --coral: #d96a56;
  --sky: #b9dce8;
  --page-width: 1024px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--snow);
}

body {
  margin: 0;
  color: var(--fjord);
  background:
    radial-gradient(circle at 50% 0, rgba(185, 220, 232, .38), transparent 34rem),
    var(--snow);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

main {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 48px rgba(23, 63, 82, .09);
}

.lp-panel {
  position: relative;
  margin: 0;
  line-height: 0;
  background: var(--snow);
}

.lp-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.hero { overflow: hidden; }

.hero img {
  animation: hero-breathe 10s ease-out both;
  transform-origin: 50% 40%;
}

.image-cta {
  position: absolute;
  left: 13.2%;
  right: 13.2%;
  height: 6.5%;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.hero-cta { bottom: 6.1%; }
.final-cta {
  bottom: 10.7%;
  height: 7.4%;
}

.image-cta:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -7px;
  box-shadow: 0 0 0 7px var(--fjord);
}

.image-cta::after {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: inherit;
  opacity: 0;
  background: rgba(255, 255, 255, .14);
  transition: opacity .2s ease;
}

.image-cta:hover::after { opacity: 1; }
.image-cta:active { transform: translateY(1px); }

.application-note {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8.6%;
  margin: 0;
  padding: .9em 1.1em;
  border: 1px solid rgba(23, 63, 82, .18);
  border-radius: .8rem;
  color: var(--fjord);
  background: rgba(248, 251, 250, .94);
  font-size: clamp(.72rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.application-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-cta {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 28px), 440px);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.sticky-cta a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: .75em;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #df7663 0%, #d96a56 58%, #c95d4a 100%);
  box-shadow:
    0 9px 22px rgba(23, 63, 82, .18),
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -2px 0 rgba(112, 38, 25, .16);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  text-decoration: none;
}

.sticky-cta a:active {
  transform: translateY(1px);
  box-shadow:
    0 5px 14px rgba(23, 63, 82, .16),
    inset 0 1px 0 rgba(255, 255, 255, .25),
    inset 0 -1px 0 rgba(112, 38, 25, .14);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.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;
}

@keyframes hero-breathe {
  from { transform: scale(1.018); }
  to { transform: scale(1); }
}

@media (min-width: 800px) {
  body { padding: 34px 0 80px; }
  main { border-radius: 2px; }
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { animation: none; }
  .reveal,
  .sticky-cta,
  .application-note { transition: none; }
}
