:root {
  color-scheme: light;
  --bg: #edf1f8;
  --paper: #ffffff;
  --ink: #07113a;
  --muted: #4c5676;
  --blue: #0058ff;
  --blue-deep: #001fb7;
  --violet: #8f25ff;
  --focus: rgba(0, 89, 255, 0.94);
  --shade: rgba(5, 14, 46, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100svh;
  margin: 0;
  padding-bottom: 78px;
  color: var(--ink);
  background:
    linear-gradient(90deg, #dce4f4 0, #f7f9ff 22%, #f7f9ff 78%, #dce4f4 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

button,
a {
  font: inherit;
}

.lp-shell {
  width: min(100%, 430px);
  margin: 0 auto;
}

.lp-canvas {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 62px var(--shade);
}

.lp-canvas--desktop {
  display: none;
}

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

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

.hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 89, 255, 0.2);
}

.hotspot:focus-visible,
.fixed-cta:focus-visible,
.modal__close:focus-visible,
.modal__button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hotspot--sp-hero-apply {
  left: 5.8%;
  top: 79.9%;
  width: 88.6%;
  height: 5.7%;
  border-radius: 16px;
}

.hotspot--sp-video-frame {
  left: 5.9%;
  top: 23.6%;
  width: 88.7%;
  height: 32.9%;
  border-radius: 18px;
}

.hotspot--sp-video-banner {
  left: 4.3%;
  top: 88.2%;
  width: 91.5%;
  height: 9.5%;
  border-radius: 16px;
}

.fixed-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 12;
  display: grid;
  min-height: 54px;
  max-width: 430px;
  margin: 0 auto;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, var(--blue-deep) 0%, var(--blue) 52%, var(--violet) 100%);
  box-shadow: 0 16px 34px rgba(4, 28, 122, 0.28);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  place-items: center;
}

.fixed-cta span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.modal[hidden] {
  display: none;
}

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

.modal__shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 34, 0.62);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(88svh, 720px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(0, 89, 255, 0.22);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 26px 88px rgba(0, 0, 0, 0.28);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #edf3ff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  place-items: center;
}

.modal h2 {
  margin: 4px 42px 12px 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0;
}

.modal p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.modal__button {
  display: inline-grid;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, var(--blue-deep) 0%, var(--blue) 58%, var(--violet) 100%);
  cursor: pointer;
  font-weight: 900;
  place-items: center;
  text-decoration: none;
}

.video-frame {
  position: relative;
  width: 100%;
  margin: 10px 0 16px;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(0, 28, 110, 0.1), rgba(0, 28, 110, 0.35)),
    url("assets/mobile/lp-slice-08.png") center 34% / cover;
}

.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 46, 201, 0.9);
  box-shadow: 0 10px 26px rgba(4, 28, 122, 0.24);
  transform: translate(-50%, -50%);
}

.video-frame__play::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
  content: "";
  transform: translate(-42%, -50%);
}

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

@media (min-width: 900px) {
  body {
    padding: 32px 28px 104px;
    background:
      linear-gradient(90deg, #d8dfef 0, #f8faff 18%, #f8faff 82%, #d8dfef 100%);
  }

  .lp-shell {
    width: min(100%, 1180px);
  }

  .lp-canvas {
    border-radius: 8px;
  }

  .lp-canvas--mobile {
    display: none;
  }

  .lp-canvas--desktop {
    display: block;
  }

  .hotspot--pc-hero-apply {
    left: 18.4%;
    top: 77.1%;
    width: 61.8%;
    height: 8.1%;
    border-radius: 16px;
  }

  .hotspot--pc-video-frame {
    left: 48.5%;
    top: 8.5%;
    width: 50.1%;
    height: 50.2%;
    border-radius: 18px;
  }

  .hotspot--pc-video-banner {
    left: 3.1%;
    top: 85.4%;
    width: 94%;
    height: 9.8%;
    border-radius: 14px;
  }

  .fixed-cta {
    right: 32px;
    left: auto;
    width: 300px;
    max-width: none;
    transform: none;
  }

  .modal__panel {
    width: min(100%, 460px);
  }
}
