/* VS-SLIDER */
  
.vs-slider {
    padding: var(--mp) 0;
    text-align: center;
}

.vs-slider h2 {
    max-width: 40rem;
    margin: 1rem auto;
}

.vs-slider p {
    color: rgba(255,255,255,0.85);
    font-size: var(--fs-intro);
    max-width: 52rem;
    margin: 0 auto;
}

.before-after {
  --before-after-position: 50%;
  position: relative;
  width: 100%;
  max-width: 60rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  margin: 2.5rem auto 0 auto;
}

.before-after__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.before-after__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-after__image--back {
  z-index: 1;
}

.before-after__image--front {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--before-after-position)) 0 0);
}

.before-after__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--before-after-position);
    transform: translateX(-50%);
    width: 4px;
    background: var(--highlight);
    z-index: 3;
    pointer-events: none;
}


.before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.85rem;
  height: 2.85rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--highlight);
  -webkit-box-shadow: 0px 2px 15px 2px rgba(74, 255, 210, 0.73);
    box-shadow: 0px 2px 15px 2px rgba(74, 255, 210, 0.73);
}

.before-after__handle::before,
.before-after__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid var(--dark);
  border-right: 2px solid var(--dark);
  transform: translateY(-50%) rotate(45deg);
}

.before-after__handle::before {
  left: 9px;
  transform: translateY(-50%) rotate(225deg);
}

.before-after__handle::after {
  right: 9px;
}

.before-after__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after__range::-webkit-slider-thumb {
  appearance: none;
  width: 44px;
  height: 44px;
  cursor: ew-resize;
}

.before-after__range::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border: 0;
  cursor: ew-resize;
}

.drag {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.85rem;
}

.before-after__image span {
    background-color: rgba(74,255,210,0.15);
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    z-index: 5;
    padding: 0.35rem 0.75rem;
    border-radius: 0.4rem;
    border: solid 1px var(--highlight);
}

.before-after__image--back span {
    top: 1rem;
    right: 1rem;
}

.before-after__image--front span {
    bottom: 1rem;
    left: 1rem;
}

/* FOUR STEPS */

.four-steps {
    padding: var(--mp) 0;
}

.four-steps h2 {
    margin: 1.5rem 0;
}

.four-steps p {
    color: rgba(255,255,255,0.85);
    font-size: var(--fs-intro);
    max-width: 45rem;
}

.four-grid {
    display: grid;
    background-color: rgba(255,255,255,0.035);
    grid-template-columns: repeat(4, 1fr);
    border: solid 1px rgba(255,255,255,0.075);
    margin-top: 2.5rem;
}

.four-grid div {
    padding: 1.5rem;
    border-right: solid 1px rgba(255,255,255,0.075);
    transition: all 0.2s ease;
}

.four-grid div:hover {
    background-color: rgba(255,255,255,0.04);
}

.four-grid div:nth-last-child(1) {
    border-right: 0
}

.four-grid em {
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
    font-style: normal;
    color: var(--highlight);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
}

.four-grid span {
    display: flex;
    width: 3rem;
    height: 3rem;
    background-color: rgba(74, 255, 210, 0.1);
    border: solid 1px rgba(74, 255, 210, 0.3);
    color: var(--highlight);
    margin: 1rem 0;
    border-radius: 0.25rem;
    place-content: center;
    place-items: center;
    flex-wrap: wrap;
    font-size: 1.5rem;
}

.four-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.four-grid p {
    color: rgba(255,255,255,0.5);
    font-size: var(--fs-smol);
}

/* WHAT'S INCLUDED */

.included {
    padding: var(--mp) 0;
}

.inc-v-top {
    text-align: center;
}

.inc-v-top p {
    margin: 0 auto;
}

.included h2 {
    margin: 1.5rem 0;
}

.included p {
    color: rgba(255,255,255,0.85);
    font-size: var(--fs-intro);
    max-width: 45rem;
}

.included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
    margin-top: 2.5rem;
}

.inc-checks {
    display: flex;
    column-gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.inc-checks:nth-last-child(1) {
    margin-bottom: 0;
}

.inc-checks h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.inc-checks p {
    color: rgba(255,255,255,0.5);
    font-size: var(--fs-smol);
    max-width: 30rem;
}

.inc-checks span {
    display: flex;
    width: 1.75rem;
    height: 1.75rem;
    background-color: rgba(74, 255, 210, 0.1);
    border: solid 1px rgba(74, 255, 210, 0.3);
    color: var(--highlight);
    border-radius: 0.4rem;
    place-content: center;
    place-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.s2p-eg {
    background-color: rgba(255,255,255,0.035);
    overflow: hidden;
    border: solid 1px rgba(255,255,255,0.075);
    height: fit-content;
}

.s2p-eg-header {
    padding: 0.75rem;
    background-color: rgba(255,255,255,0.035);
    border-bottom: solid 1px rgba(255,255,255,0.075);
    display: flex;
    align-items: center;
}

.s2p-eg-header h4 {
    font-size: var(--fs-smol);
    color: rgba(255,255,255,0.5);
    font-family: "Satoshi";
    font-weight: 550;
}

.ref-only {
    color: var(--highlight);
    background-color: rgba(74, 255, 210, 0.1);
    margin-left: auto;
    font-size: 0.75rem;
    border-radius: 100vw;
    padding: 0.25rem 0.5rem;
}

.egimg {
    background-color: white;
    padding: 1.5rem;
}

.when-ready {
    margin-top: var(--mp);
}

.when-ready p {
    margin-bottom: 2.5rem;
}

.ready-grid {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    column-gap: 1rem;
}

.ready-grid-icon {
    background-color: var(--dark);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    place-content: center;
    flex-wrap: wrap;
    color: var(--highlight);
    border: solid 2px rgba(255,255,255,0.2);
    box-sizing: border-box;
    transition: border 0.2s ease;
}

.ready-grid-icon-area {
    background: linear-gradient(
        to right,
        transparent calc(50% - 1px),
        rgba(255,255,255,0.2) calc(50% - 1px),
        rgba(255,255,255,0.2) calc(50% + 1px),
        transparent calc(50% + 1px)
    );
    text-align: center;
}

.ready-grid span {
    color: var(--highlight);
    
}

.ready-grid p {
    font-size: var(--fs-smol);
    padding: 0;
    color: rgba(255,255,255,0.5);
    max-width: 25rem;
}

.ready-grid h4 {
    font-size: var(--fs-intro);
    color: white;
    font-family: "Satoshi";
    font-weight: 550;
    margin: 0.25rem 0;
}

.ready-grid:hover .ready-grid-icon {
    border: solid 2px var(--highlight);

}

/* PRICING */

.s2p-pricing {
    padding: var(--mp) 0;
}

.s2p-pricing h2 {
    margin: 1.5rem 0;
}

.s2p-pricing p {
    color: rgba(255,255,255,0.85);
    font-size: var(--fs-intro);
    max-width: 45rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.5rem;
    margin-top: 2.5rem;
}

.pricing-box {
    background-color: rgba(255,255,255,0.035);
    border: solid 1px rgba(255,255,255,0.04);
    position: relative;
    padding: 2rem 1.5rem;
    transition: all 0.2s ease;
}

.pricing-box:hover {
    transform: translateY(-0.35rem);
    border: solid 1px rgba(74, 255, 210, 0.25);
}

.pricing-box h3 {
    font-weight: 620;
    font-size: 4.25rem;
    margin: 0.5rem 0 1.5rem 0;
    letter-spacing: 0.1rem;
    line-height: 0.9;
    max-width: 7ch;
}

.p1 {
    color: rgba(255,255,255,0.5);
    font-size: var(--fs-smol);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.p2 {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    display: block;
}

.free-box {
    border: solid 2px var(--highlight) !important;
}

.pricing-callouts {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
    border-top: solid 1px rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.pricing-callouts div:nth-child(even) {
    color: white;
    font-weight: 550;
    text-align: right;
}

.pricing-callouts a {
    color: var(--highlight);
}

.free-about {
    padding: 1rem;
    background-color: rgba(74, 255, 210, 0.05);
    border: solid 2px rgba(74, 255, 210, 0.3);
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-top: 2.5rem;
    line-height: 1.5;
}

.free-about strong {
    color: var(--highlight);
}

/* MEDIA QUERIES */

@media only screen and (max-width: 960px) { 
    .four-grid {
        grid-template-columns: 1fr 1fr;
    }

    .four-grid div {
        padding: 1.5rem 2.5rem;
    }

    .four-grid div:nth-child(even) {
        border-right: 0;
    }

    .four-grid div:nth-child(1), .four-grid div:nth-child(2) {
        border-bottom: solid 1px rgba(255,255,255,0.035);
    }

    .included-grid {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
    }
}

@media only screen and (max-width: 768px) { 
    .egimg {
        padding: 0.75rem;
    }

    .four-grid h3, .inc-checks h3 {
        font-size: 1.15rem;
    }

    .inc-checks span {
        width: 2.75rem;
    }

    .pricing-box h3 {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 520px) { 
    .before-after__image span {
        font-size: 2.5vw;
        background-color: var(--highlight);
        padding: 1vw 2vw;
    }

    .four-grid {
        grid-template-columns: 1fr;
    }

    .four-grid div {
        border-bottom: solid 1px rgba(255,255,255,0.035);
        padding: 4vw 6vw;
        border-right: 0;
    }

    .four-grid div:nth-last-child(1) {
        border-bottom: 0;
    }

    .s2p-eg-header {
        display: grid;
        row-gap: 0.25rem;
    }

    .ref-only {
        margin-left: 0;
        width: fit-content;
    }
}


