:root {
  color-scheme: light;
  --pod-lens-beige: #f1efe9;
  --pod-lens-mid-beige: #ddd3c3;
  --pod-lens-dark-beige: #9d9589;
  --pod-lens-kale: #233533;
  --pod-lens-kale-deep: #172825;
  --pod-lens-mango: #ffa700;
  --pod-lens-dark-mango: #ff7f12;
  --pod-lens-light-mango: #fdd59e;
  --pod-lens-ink: #1a1b1b;
  --pod-lens-muted: #4a4c4b;
  --pod-lens-ease-expo: cubic-bezier(.16, 1, .3, 1);
  --pod-lens-ease-io: cubic-bezier(.65, 0, .35, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
}

body.insulet-hcp-gateway--pod-lens {
  overflow: hidden;
  background: var(--pod-lens-kale);
  color: var(--pod-lens-ink);
  font-family: "area-normal", Verdana, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.pod-lens {
  position: fixed;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  background: var(--pod-lens-kale);
}

.pod-lens__interior {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 42%, #2c4340 0%, var(--pod-lens-kale) 52%, var(--pod-lens-kale-deep) 100%);
}

.pod-lens__interior-stack {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(700px, calc(100vw - 48px));
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.pod-lens__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(780px, 110vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 167, 0, .16) 0%, rgba(255, 167, 0, 0) 62%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 1.2s var(--pod-lens-ease-io);
}

.pod-lens__interior-logo-stage {
  position: relative;
  z-index: 2;
  width: min(420px, 64vw);
}

.pod-lens__interior-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
}

.pod-lens__halos {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pod-lens__tagline,
.pod-lens__entering {
  position: relative;
  z-index: 2;
  margin: 0;
  opacity: 0;
}

.pod-lens__tagline {
  color: var(--pod-lens-light-mango);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.pod-lens__entering {
  display: flex;
  width: min(280px, 72vw);
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.pod-lens__entering p {
  margin: 0;
}

.pod-lens__dots i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--pod-lens-mango);
  animation: pod-lens-dot 1.2s infinite;
}

.pod-lens__dots i:nth-child(2) {
  animation-delay: .2s;
}

.pod-lens__dots i:nth-child(3) {
  animation-delay: .4s;
}

.pod-lens__progress {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
}

.pod-lens__progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pod-lens-mango), var(--pod-lens-dark-mango));
}

.pod-lens__halo {
  fill: none;
  opacity: 0;
  pointer-events: none;
  stroke: var(--pod-lens-mango);
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}

.pod-lens__halo--one {
  stroke-width: 1.1px;
}

.pod-lens__halo--two {
  stroke-width: .8px;
}

.pod-lens.is-interior-running .pod-lens__glow {
  opacity: 1;
}

.pod-lens.is-interior-running .pod-lens__interior-logo {
  animation: pod-lens-rise .8s var(--pod-lens-ease-expo) .15s both;
}

.pod-lens.is-interior-running .pod-lens__tagline {
  animation: pod-lens-rise .8s var(--pod-lens-ease-expo) .55s both;
}

.pod-lens.is-interior-running .pod-lens__entering {
  animation: pod-lens-rise .8s var(--pod-lens-ease-expo) .85s both;
}

.pod-lens.is-interior-running .pod-lens__progress i {
  animation: pod-lens-fill 1.7s var(--pod-lens-ease-io) 1.1s forwards;
}

.pod-lens.is-interior-running .pod-lens__halo--one {
  animation: pod-lens-halo 3s var(--pod-lens-ease-io) .35s infinite;
}

.pod-lens.is-interior-running .pod-lens__halo--two {
  animation: pod-lens-halo 3s var(--pod-lens-ease-io) .95s infinite;
}

.pod-lens__aperture {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

.pod-lens.is-aperture-on .pod-lens__aperture {
  display: block;
}

.pod-lens.is-aperture-open .pod-lens__aperture {
  transform: scale(34);
  transition: transform 1.55s var(--pod-lens-ease-io);
}

.pod-lens__gate {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding:
    max(24px, calc(env(safe-area-inset-top, 0px) + 14px))
    max(24px, calc(env(safe-area-inset-right, 0px) + 14px))
    max(42px, calc(env(safe-area-inset-bottom, 0px) + 30px))
    max(24px, calc(env(safe-area-inset-left, 0px) + 14px));
  background: var(--pod-lens-beige);
  transition: opacity .45s var(--pod-lens-ease-io);
}

.pod-lens__gate[hidden] {
  display: none;
}

.pod-lens__blocks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pod-lens__block {
  position: absolute;
  border-radius: 22px;
  opacity: .5;
  will-change: transform;
}

.pod-lens__block--one {
  top: -60px;
  left: -90px;
  width: 280px;
  height: 190px;
  background: var(--pod-lens-mid-beige);
  animation: pod-lens-drift-one 13s ease-in-out infinite;
}

.pod-lens__block--two {
  top: 70px;
  left: 150px;
  width: 150px;
  height: 150px;
  border-radius: 26px;
  background: var(--pod-lens-light-mango);
  opacity: .38;
  animation: pod-lens-drift-two 11s ease-in-out infinite;
}

.pod-lens__block--three {
  right: -110px;
  bottom: -80px;
  width: 340px;
  height: 230px;
  background: var(--pod-lens-mid-beige);
  animation: pod-lens-drift-two 15s ease-in-out infinite;
}

.pod-lens__block--four {
  right: 180px;
  bottom: 90px;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: var(--pod-lens-light-mango);
  opacity: .35;
  animation: pod-lens-drift-one 12s ease-in-out infinite;
}

.pod-lens__block--five {
  top: 110px;
  right: 80px;
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: var(--pod-lens-mid-beige);
  animation: pod-lens-drift-two 10s ease-in-out infinite;
}

.pod-lens__block--six {
  bottom: 150px;
  left: 110px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--pod-lens-dark-beige);
  opacity: .22;
  animation: pod-lens-drift-one 14s ease-in-out infinite;
}

.pod-lens__card {
  position: relative;
  z-index: 2;
  width: min(600px, calc(100vw - 48px));
  padding: 50px 56px 42px;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 2px 8px rgba(35, 53, 51, .05),
    0 30px 70px rgba(35, 53, 51, .14);
  text-align: center;
  animation: pod-lens-card-in .8s var(--pod-lens-ease-expo) both;
  transition: opacity .35s var(--pod-lens-ease-io), transform .35s var(--pod-lens-ease-io);
}

.pod-lens__logo {
  display: block;
  width: 236px;
  max-width: 72%;
  height: auto;
  margin: 0 auto 28px;
}

.pod-lens__card h1 {
  margin: 0 0 18px;
  color: var(--pod-lens-ink);
  font-family: "area-extended", "area-normal", Verdana, Arial, sans-serif;
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.pod-lens__card h1:focus {
  outline: none;
}

.pod-lens__card p {
  margin: 0 0 14px;
  color: var(--pod-lens-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.pod-lens__card p a {
  color: var(--pod-lens-ink);
  font-weight: 600;
}

.pod-lens__decisions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 28px;
}

.pod-lens__decisions form {
  margin: 0;
}

.pod-lens__continue,
.pod-lens__exit {
  display: block;
  width: 100%;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.pod-lens__continue {
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  background: var(--pod-lens-kale);
  color: #fff;
  cursor: pointer;
  font-size: 15.5px;
  transition: background .25s, transform .25s var(--pod-lens-ease-expo);
}

.pod-lens__continue:hover {
  background: var(--pod-lens-kale-deep);
  transform: translateY(-1px);
}

.pod-lens__continue:disabled {
  cursor: wait;
  opacity: .74;
}

.pod-lens__exit {
  min-height: 48px;
  padding: 13px 26px;
  border: 1.5px solid #e4e0d6;
  background: transparent;
  color: var(--pod-lens-muted);
  font-size: 14px;
  transition: border-color .25s, color .25s;
}

.pod-lens__exit:hover {
  border-color: var(--pod-lens-dark-beige);
  color: var(--pod-lens-ink);
}

.pod-lens__continue:focus-visible,
.pod-lens__exit:focus-visible {
  outline: 3px solid var(--pod-lens-mango);
  outline-offset: 3px;
}

.pod-lens__card .pod-lens__micro {
  margin: 24px 0 0;
  color: var(--pod-lens-dark-beige);
  font-size: 11.5px;
  letter-spacing: .02em;
}

.pod-lens__skip {
  position: fixed;
  top: max(26px, calc(env(safe-area-inset-top, 0px) + 12px));
  right: max(30px, calc(env(safe-area-inset-right, 0px) + 12px));
  z-index: 70;
  min-width: 44px;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.pod-lens__skip:focus-visible {
  outline: 3px solid var(--pod-lens-mango);
  outline-offset: 3px;
}

.pod-lens__foot {
  position: fixed;
  right: 0;
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  left: 0;
  z-index: 55;
  margin: 0;
  color: var(--pod-lens-dark-beige);
  font-size: 11.5px;
  letter-spacing: .03em;
  pointer-events: none;
  text-align: center;
  transition: color .4s, opacity .4s;
}

.pod-lens__ring {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 60;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 2.5px solid var(--pod-lens-mango);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.pod-lens.is-accepted .pod-lens__gate {
  opacity: 0;
  pointer-events: none;
}

.pod-lens.is-accepted .pod-lens__card {
  opacity: 0;
  transform: scale(.94);
}

.pod-lens.is-accepted .pod-lens__foot {
  color: rgba(255, 255, 255, .42);
}

.pod-lens.is-accepted .pod-lens__ring--one {
  animation: pod-lens-ripple 1.1s var(--pod-lens-ease-expo) both;
}

.pod-lens.is-accepted .pod-lens__ring--two {
  animation: pod-lens-ripple 1.1s var(--pod-lens-ease-expo) .13s both;
}

.pod-lens.is-accepted .pod-lens__ring--three {
  animation: pod-lens-ripple 1.1s var(--pod-lens-ease-expo) .26s both;
}

@keyframes pod-lens-card-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pod-lens-rise {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pod-lens-fill {
  to {
    width: 100%;
  }
}

@keyframes pod-lens-dot {
  0%,
  60%,
  100% {
    opacity: .25;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes pod-lens-halo {
  from {
    opacity: .3;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(2.35);
  }
}

@keyframes pod-lens-ripple {
  from {
    opacity: .8;
    transform: scale(.4);
  }
  to {
    opacity: 0;
    transform: scale(11);
  }
}

@keyframes pod-lens-drift-one {
  0%,
  100% {
    transform: translate(0, 0);
  }
  30% {
    transform: translate(-9px, 6px);
  }
  65% {
    transform: translate(6px, -5px);
  }
}

@keyframes pod-lens-drift-two {
  0%,
  100% {
    transform: translate(0, 0);
  }
  35% {
    transform: translate(8px, -6px);
  }
  70% {
    transform: translate(-6px, 4px);
  }
}

@media (max-width: 560px) {
  .pod-lens__gate {
    align-items: start;
    padding-top: max(22px, calc(env(safe-area-inset-top, 0px) + 14px));
  }

  .pod-lens__card {
    width: min(100%, calc(100vw - 32px));
    padding: 38px 24px 32px;
    border-radius: 22px;
  }

  .pod-lens__logo {
    width: 214px;
    margin-bottom: 24px;
  }

  .pod-lens__block--two,
  .pod-lens__block--four,
  .pod-lens__block--six {
    display: none;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .pod-lens__gate {
    display: block;
    padding-top: max(14px, calc(env(safe-area-inset-top, 0px) + 8px));
    padding-bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  }

  .pod-lens__card {
    width: min(760px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 22px 30px;
  }

  .pod-lens__logo {
    width: 170px;
    margin-bottom: 12px;
  }

  .pod-lens__card h1 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .pod-lens__card p {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .pod-lens__decisions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
  }

  .pod-lens__card .pod-lens__micro {
    margin-top: 12px;
  }

  .pod-lens__foot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .pod-lens__block,
  .pod-lens__dots i,
  .pod-lens__halo,
  .pod-lens__ring,
  .pod-lens__card {
    animation: none !important;
  }

  .pod-lens__gate,
  .pod-lens__card,
  .pod-lens__glow,
  .pod-lens__aperture {
    transition-duration: .01ms !important;
  }

  .pod-lens.is-interior-running .pod-lens__interior-logo,
  .pod-lens.is-interior-running .pod-lens__tagline,
  .pod-lens.is-interior-running .pod-lens__entering {
    animation: none;
    opacity: 1;
  }

  .pod-lens.is-interior-running .pod-lens__progress i {
    width: 100%;
    animation: none;
  }
}
