:root {
  --pink: #db164c;
  --darkblue: #190c42;
  --text: #6c6c6c;
  --light: #e7ecf2;
  --dark: #1a1c21;
  --dark-2: #33343d;
  --green: #02ef0e;
  --popup-orange: #e6861b;
  --popup-orange-hover: #ca3e0c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #0074db;
  text-decoration: none;
}

/* Typography - sizes taken from the original Oxygen global settings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5 {
  font-weight: 700;
  line-height: 1.25;
}

h1, .h1, h2, .h2 { font-size: 3rem; padding-bottom: 1rem; }
h3, .h3 { font-size: 2.5rem; padding-bottom: 1rem; }
h4, .h4 { font-size: 2rem; padding-bottom: 1rem; }
h5, .h5 { font-size: 1.5rem; }

.text-white { color: #fff; }
.text-pink { color: var(--pink); }
.color-darkblue { color: var(--darkblue); }
.text-center { text-align: center; }
.text-bold { font-weight: 700; }
.text-lg { font-size: 1.5rem; line-height: 1.45; }
.text-xl { font-size: 1.75rem; }
.text-xxl { font-size: 2.5rem; }
.lh-tight { line-height: 1.2; }

.full-width { width: 100%; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Layout */
.section {
  width: 100%;
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 75px 20px;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wrap.center {
  align-items: center;
}

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

.col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  padding: 20px 10px;
}

.col.center {
  align-items: center;
}

.cols-3 > .col {
  width: 33.33%;
}

.section-light { background-color: var(--light); }
.section-dark { background-color: var(--dark); }
.section-dark-gradient { background-image: linear-gradient(180deg, var(--dark), var(--dark-2)); }

/* Hero */
.hero {
  position: relative;
}

.hero .wrap {
  padding-top: 20px;
}

.pla-logo {
  width: 95px;
  height: 95px;
}

.shape-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  color: var(--light);
  pointer-events: none;
}

.shape-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

/* Countdown */
.counter {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
}

.counter-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: var(--pink);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
}

/* Offer */
.price-info {
  padding-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.price-cross {
  text-decoration: line-through;
}

.button {
  display: inline-block;
  padding: 10px 3rem;
  border: 1px solid;
  border-radius: 100px;
  color: #fff;
  text-align: center;
  transition: opacity .2s;
}

.button:hover,
.button:focus-visible {
  opacity: .85;
}

.button-dark {
  background-color: #000;
  border-color: #000;
}

.button-pink {
  background-color: var(--pink);
  border-color: var(--pink);
}

.checks {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.chapters {
  align-items: center;
  padding-top: 1rem;
}

.check {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  fill: var(--green);
}

.checks-pink .check {
  fill: var(--pink);
}

/* Video - Swarmify replaces <smartvideo> with its own player */
.video {
  width: 100%;
}

smartvideo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Success */
.col-list {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.col-text {
  gap: 1rem;
}

.success-list {
  margin: 24px 0;
  padding-left: 40px;
  list-style: none;
}

.success-list li::before {
  content: "\2022";
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  color: var(--pink);
  font-weight: 700;
}

/* Stats */
.divider-sml {
  width: 60px;
  height: 2px;
  margin: .5rem 0 1rem;
  background-color: var(--darkblue);
}

.divider-white {
  background-color: #fff;
}

.card-white {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 30px 0 rgba(214, 215, 216, .57);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}

.faq details {
  position: relative;
  width: 600px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 5px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Plus that turns into a minus, same as the Oxygen toggle icon */
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  background:
    linear-gradient(#000, #000) center / 18px 3px no-repeat,
    linear-gradient(#000, #000) center / 3px 18px no-repeat;
  transition: background-size .3s ease-in-out;
}

.faq details[open] summary::after {
  background-size: 18px 3px, 3px 0;
}

.faq-text {
  display: flex;
  flex-direction: column;
  gap: 1.6em;
  padding-top: 1rem;
}

/* Exit popup */
.exit-popup {
  width: calc(100% - 32px);
  max-width: 650px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  overflow: visible;
}

.exit-popup::backdrop {
  background: rgba(0, 0, 0, .7);
}

.exit-popup[open],
.exit-popup[open]::backdrop {
  animation: popup-fade-in .75s ease;
}

@keyframes popup-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.exit-popup-box {
  position: relative;
  border-radius: 4px;
  background: #494343 url("../img/popup-bg.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/popup-bg.webp") type("image/webp"), url("../img/popup-bg.jpg") type("image/jpeg"));
}

.exit-popup-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 380px;
  min-height: 400px;
  padding: 30px;
  color: #fff;
}

.exit-popup-kicker {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.exit-popup-title {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.exit-popup-button {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 6px;
  background: var(--popup-orange);
  color: #fbfbfb;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  transition: background .3s;
}

.exit-popup-button:hover,
.exit-popup-button:focus-visible {
  background: var(--popup-orange-hover);
  color: #fbfbfb;
}

.exit-popup-close {
  position: absolute;
  top: 5px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f2e35;
  cursor: pointer;
  transition: color .3s;
}

.exit-popup-close:hover,
.exit-popup-close:focus-visible {
  color: #c81b4d;
}

.exit-popup-close svg {
  display: block;
  margin: auto;
}

/* Responsive */
@media (max-width: 1280px) {
  .hero .wrap {
    padding-bottom: 90px;
  }
}

@media (max-width: 992px) {
  h1, .h1, h2, .h2 { font-size: 2.7rem; }
  h3, .h3 { font-size: 2.2rem; }
  h4, .h4 { font-size: 1.8rem; }
  h5, .h5 { font-size: 1.3rem; }

  .wrap {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 991px) {
  .col,
  .cols-3 > .col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .counter-item {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  /* On a narrow crop the face sits behind the text, so darken it */
  .exit-popup-box {
    background-image:
      linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
      image-set(url("../img/popup-bg.webp") type("image/webp"), url("../img/popup-bg.jpg") type("image/jpeg"));
  }

  .exit-popup-close {
    color: #fff;
  }

  .exit-popup-content {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exit-popup[open],
  .exit-popup[open]::backdrop {
    animation: none;
  }
}

.exit-popup-box:focus {
  outline: none;
}
