:root {
    --color-text: #1d1d1f;
    --color-text-inverse: #fff;
    --color-subtle: #6b6b6b;
    --color_bg: #fff;
    --color-bg-gray: #F5F5F7;
    --color-green: #485038;
    --color-success: #488D2F;
    --color-action: #0071E3;
    --color-action-hover: rgba(0 89 178 / 0.90);
    font-size: 100%;
}
html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: var(--color-text);

    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "kern";
    font-feature-settings: "kern";

    margin: 0;
    padding: 0;
}


a {
    text-decoration: none;
    border-bottom: 1px solid var(--color-subtle);
    color: var(--color-subtle);
}
a:hover {
    opacity: .85;
    border-bottom: none;
}
a.snow {
    color: var(--color-text-inverse);
    opacity: .81;
    font-weight: 600;
    border-color: var(--color-bg-gray);
}
a.snow:hover {
    border: none;
    opacity: 1;
}

/* Hero */
.hero {
    background-image: url(img/bg-videos.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    min-height: 63vh;
    padding: 6rem;
    text-align: center;
    margin-bottom: 3rem;

    color: var(--color-text-inverse);
}
.hero h1 {
    margin: 0;
    font-size: 6.25rem;
    font-weight: 700;
}
.hero h2 {
    font-size: 2.5rem;
    max-width: 27ch;
    line-height: 130%;
    margin-inline: auto;
}
.hero-live-grid {
    display: grid;
}
.hero-live-grid small {
    margin-block: .25rem;
}
.hero-live {
    margin-block-start: 10rem;
    display: flex;
    max-width: fit-content;
    gap: 1rem;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
}
.hero-live img {
    display: block;
    margin-block-start: .3rem;
}
.hero-live h2 {
    margin: 0;
}
/* Forms */
.buyform {
    display: grid;
    width: 30%;
    margin-inline: auto;
    text-align: left;
}
.buyform input {
    padding: 1rem;
    margin-block-end: 1.5rem;
    border: 1px solid var(--color-action);
    border-radius: .25rem;
    font-size: 1rem;
  }
  .buyform label {
    font-weight: 400;
    color: var(--color-text-inverse);
    font-size: 1rem;
    margin-bottom: .5rem;
  }
  .buyform input::placeholder {
    opacity: .7;
  }
  .buyform input:focus.invalid,
  .buyform input.invalid {
    outline: 2px solid #c00;
  }
  .buyform small.invalid {
    color: #c00;
    font-weight: 400;
    display: none;
  }
  .buyform small.invalid.show {
    display: inline-block;
  }
  /* apparently css cache is an issue */
  .buyform small.help {
    display: block;
    font-size: 14px;
    color: var(--color-text-inverse);
    font-weight: 400;
    text-align: center;
    line-height: 100%;
    margin-top: 1rem;
  }
  .buyform small.help > a {
    color: #78ef39;
    font-weight: bold;
    text-decoration: underline;
    opacity: 1;
  }
  .buyform small.help > a:hover {
    text-decoration: none;
  }



/* Button */
.button {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 500;
    border: none;
    background: #0071E3;
    color: var(--color-text-inverse);
    padding: 1.25rem 2rem;
    border-radius: 100vw;
    cursor: pointer;
    opacity: .85;
    text-decoration: none;
}
.hero-ctas {
    padding-block: 2.5rem;
}

.button.primary {
    box-shadow: 0px 0px 16px 0px rgba(255, 255, 255, 0.15);
    background: linear-gradient(180deg, #0071E3 0%, rgba(0 89 178 / 0.90) 100%);
}
.button.subtle {
    background-color: transparent;
    opacity: .5;
    text-decoration: underline;
    color: var(--color-text-inverse);
}
.button.subtle:hover {
    text-decoration: none;
}
.button.green {
    background-color: var(--color-green);
    margin-inline-end: 1.5rem;
}
.button.support {
    background-color: var(--color-success);
}
.button.green.ghost {
    background-color: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}
.button.login {
    background: linear-gradient(180deg, #369900 0%, rgba(45, 128, 0, 0.80) 100%);
    font-size: 1.5rem;
    font-weight: 500;
}
.button.squared {
    border-radius: 1rem;
}
.button.medium {
    font-size: 1.25rem;
    padding: 1rem 2rem;
}
.button.small {
    font-size: 1rem;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-weight: 500;
}
.button:hover {
    opacity: 1;
}
.button.air {
    margin-block: 1rem;
  }

/* All sections */
.usps {
    font-size: 1.25rem;
    line-height: 145%;
    font-weight: 600;
    color: var(--color-subtle);
}
.usps b {
    color: var(--color-text);
}
.usps .subtler {
    opacity: .5;
}
.usps h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 90%;
    color: var(--color-text);
    margin-block: 3rem 1rem;
}
.usps li {
    margin-block: .5rem;
}

.success {
    color: var(--color-success);
}
.usps h2.subtle,
.subtle {
    color: var(--color-subtle);
}


.chaos {
    padding-block: 3rem;
}
.chaos-bg {
    background-image: url(img/chaos.svg);
    background-position-x: -7rem;
    background-repeat: no-repeat;
    padding: 1rem;
}

.testimonials-bg {
    background: linear-gradient(180deg, #485038 0%, #313724 100%);
    padding: 2rem;
    color: var(--color-text-inverse);
}
.testimonials.col2 {
    gap: 4rem;
}
.testimonials > article{
    display: grid;
    line-height: 150%;
    font-size: 1.25rem;
    align-content: space-between;
    opacity: .7;
}
.testimonial-quote {
    position: relative;
}
.testimonial-quote::before {
    content: "";
    position: absolute;
    width: 5.4375rem;
    height: 4.4375rem;
    background-image: url(img/quote.svg);
}
.testimonial-name {
    text-align: right;
    font-weight: 300;
    font-style: italic;
}

.details-bg {
    /* background: linear-gradient(180deg, rgba(231, 233, 231, 0.30) 0%, rgba(231, 233, 231, 0.00) 108.92%); */
    margin-block: 5rem 3rem;
    margin-block-start: 0;
}
.details {
    align-items: center;
    align-items: start;
}


.instructor-bg {
    padding-bottom: 3.5rem;
    position: relative;
    margin-bottom: -1rem;
    margin-top: 7rem;
}
.buy-bg {
    background-color: var(--color-bg-gray);
    padding-bottom: 5rem;
}
.buy {
    align-items: end;
}

.bot {
    margin-block-start: 5rem;
    min-height: 9rem;
    background-image: url(img/bottom-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
}



.instructor-img {
    padding-inline-start: 5rem;
}
.instructor-bot-bg {
    width: 100vw;
    position: absolute;
    bottom: 0;
}
.instructor-bot-img {
    width: 100vw;
}

.copyright {
    position: relative;
}
.copyright article{
    text-align: center;
    position: absolute;
    inset-inline: 0;
    bottom: 1rem;
    color: var(--color-text-inverse);
    mix-blend-mode: soft-light;
    opacity: 1;
}

.center {
    margin-inline: auto;
    width: 80%;
    max-width: 69rem;
}

/* Grids */
.col2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 0;
    padding: 0;
    padding-inline-start: 3.5rem;
    list-style-type: none;
}
.timeline::before {
    content: "";
    position: absolute;
    width: 0.125rem;
    height: 100%;
    background: linear-gradient(180deg, rgba(208, 210, 209, 0) 0%, #D0D2D1 7%, #D0D2D1 93%, rgba(208, 210, 209, 0) 100%);
    left: 1.75rem;
}
.timeline li {
    position: relative;
    margin: 0;
    padding-block: 1.5rem;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-text);
}
.timeline li::before {
    display: grid;
    content: attr(data-date);
    color: var(--color-subtle);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 3rem;
    text-align: center;
    position: absolute;
    border-radius: 100vw;
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--color-subtle);
    background-color: #fff;
    transform: translate(-3.15rem, -.5rem);

    background-image: url(/img/dec.svg);
    background-repeat: no-repeat;
    background-position: center .45rem;
}
.timeline li > small {
    display: block;
    font-size: 1rem;
    color: var(--color-subtle);
}
.hid,
.desk-hid {
    display: none;
}
.who .more {
    font-size: 1rem;
    line-height: 140%;
}
.star-us {
    font-size: .75rem;
    line-height: 120%;
    font-weight: 400;
    display: block;
}

dialog {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 1rem 2rem;
    min-width: 25%;
    max-width: 33%;
    color: var(--color-text);
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

#dialogContent {
    line-height: 145%;
    margin-block: 2rem;
}

#closeButton {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
}
#closeButton:focus-visible {
    outline: none;
}

#closeButton img {
    width: 1rem;
    height: 1rem;
}

#dialogTitle {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}





/* ******************************** */
/* MOBILE */
@media screen and (max-width: 811px) {
    .hero {
        background-image: url(img/bg-mobile-live.webp);
        padding: 1.5rem;
        padding-top: 3.5rem;
        margin-bottom: 1rem;
        min-height: 55vh;
    
        color: var(--color-text-inverse);
    }
    .hero h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 700;
    }
    .hero h2 {
        font-size: 1.125rem;
        line-height: 130%;
        margin-inline: auto;
        letter-spacing: -0.009rem;
    }

    .hero-live-grid small {
        margin-block: .15rem;
    }
    .hero-live {
        margin-block-start: 5rem;
    }
    .hero-live img {
        width: 70px;
        margin-block-start: 0;
    }
    .hero-live h2 {
        font-size: 1.5rem;
    }

    .button,
    .button {
        font-size: 1.25rem;
        display: block;
        text-align: center;
    }

    .button.primary {
        padding: 1.5rem 2.25rem;
        display: inline-block;
    }

    .col2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .center {
        margin-inline: 1.5rem;
        width: auto;
    }
    .usps {
        font-size: 1.125rem;
    }
    .usps h2 {
        font-size: 2rem;
        letter-spacing: -1px;
        margin-block-start: 2rem;
    }
    .hid,
    .mob-hid {
        display: none;
    }
    .desk-hid {
        display: block;
    }
    .chaos-bg {
        background-image: none;
        padding: 0;
    }
    .chaos {
        padding: 0;
    }
    .details-bg {
        margin-block: 0;
    }

    .details-timeline {
        padding-top: 3rem;
    }
    .details-timeline img {
        max-width: 100%;
    }
    .timeline {
        padding-inline-start: 3.25rem;
        padding-block-start: 1rem;
    }
    .timeline::before {
        content: "";
        position: absolute;
        width: 0.125rem;
        height: 100%;
        background: linear-gradient(180deg, rgba(208, 210, 209, 0) 0%, #D0D2D1 7%, #D0D2D1 93%, rgba(208, 210, 209, 0) 100%);
        left: .75rem;
    }

    .timeline li {
        position: relative;
        margin: 0;
        padding-block: .5rem;
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--color-text);
    }
    .timeline li::before {
        content: "";
        font-size: 1.25rem;
        border-radius: 100vw;
        width: 1rem;
        height: 1rem;
        background-image: none;
        border: 3px solid var(--color-subtle);
        background-color: #fff;
        transform:translate(-3.125rem)

    }
    .timeline li > small {
        display: block;
        font-size: .85rem;
        color: var(--color-subtle);
        line-height: 100%;
    }
    
    .instructor-bg {
        padding: 0;
        margin-top: 2rem;
    }
    .instructor-img {
        padding: 0;
        padding-inline-start: 0;
        width: 100%;
    }

    .buyform {
        width: 100%;
    }
    .buy-bg {
        padding-bottom: 3rem;
    }
    .mob-text-centered {
        text-align: center;
    }
    .bot {
        min-height: 7rem;
        background-image: url(img/bottom-bg-mob.webp);
        background-repeat: no-repeat;
        background-size: cover;
        margin-block-start: 0;
        font-size: 90%;
    }
    .topsticky {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: -1;
        opacity: .1;
    }
    .topsticky img {
        width: 100%;
    }
    .star-us {
        text-align: center;
        margin-inline: 1rem;
    }
    .testimonials-bg {
        padding: 2rem;
    }
    .testimonials.col2 {
        gap: unset
    }
    .testimonials > article{
        display: unset;
        opacity: .7;
    }
    .testimonial-quote {
        position: relative;
    }
    .buyform small.help {
        font-size: 14px;
      }
    .buyform small.help::before {
        content: "";
        width: 14px;
        height: 14px;
        background-image: url(img/help-icon.svg);
        background-repeat: no-repeat;
        display: inline-block;
        margin-inline-end: 4px;
      }
      .buyform small.help > a {
        color: #90b8e0;
        font-weight: bold;
        text-decoration: underline;
        opacity: 1;
      }
      a.snow {
        font-size: 14px;
      }
    dialog {
        min-width: unset;
        max-width: unset;
        margin-inline: 1rem;
    }
    #closeButton2 {
        display: none;
    }
    .buttons {
        display: block;
    }
    .supportButtons {
        display: flex;
        justify-content: space-between;
    }
    .button.login {
        font-size: 1.25rem;
        font-weight: 500;
        padding: .75rem;
    }
}




