:root {
  --light-grey: rgb(242, 242, 242);
  /* --light-grey: #ccc; */
  --text-color: #5f6062;
}

html{
    font-size: 100%;
}

body {
    font-family: "Manrope";
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--light-grey);
}

a {
    color: var(--text-color);
    text-decoration: underline;

    &:hover {
        color: var(--text-color);
        text-decoration: none;
    }
}

strong {
    font-weight: 500;
}

h1 {
    font-size: clamp(2rem, 1.108vw + 1.669rem, 2.5rem);
    font-style: normal;
    font-weight: 300;
    margin: 1.5rem 0 1.25rem;
    line-height: 1.2em;
}

.text-large {
    font-size: clamp(1.25rem, .554vw + 1.0845rem, 1.35rem);
    line-height: 2rem;
    margin: 1.25rem 0;
}

.text-medium {
    font-size: clamp(1.15rem, .2216vw + 1.0838rem, 1.20rem);
    line-height: 1.6rem;
}

ol li {
  margin: 0.7rem 0;

  &:first-child {
    margin-top: 0;
  }

  &:last-child {
    margin-bottom: 0;
  }
}

.no-margins {
    > *:first-child {
        margin-top: 0;
    }
    > *:last-child {
        margin-bottom: 0;
    }
}

/* Each section is wrapped in this. */
.section {
    padding: 0 1.5rem;

    @media (min-width: 48rem) {
        padding: 0 4rem;
    }
}

/* Container within each section. */
.container {
    width: 100%;
    max-width: 81rem;
    margin: 0 auto;
}

img {
    margin: 0;
    max-width: 100%;
    height: auto;
}

.section-mobile-logo {
    padding-top: 3rem;

    @media (min-width: 48rem) {
        display: none;
    }
}

.section-phone {
    overflow-x: hidden;

    @media (min-width: 48rem) {
        padding-top: 3.75rem;
    }

    .container {
        display: flex;
        flex-flow: column-reverse nowrap;
        align-items: center;

        @media (min-width: 48rem) {
            flex-flow: row nowrap;
            align-items: center;
        }
    }

    .content {
        margin-bottom: 2rem;
    }

    .heading {
        margin: 0 0 1.25rem;
    }

    .currency {
        font-size: 0.85rem;
    }

    .img-link {
        display: block;
        max-width: 100%;
        font-size: 0.1px;
        line-height: 0.1px;
    }

    .client-logo {
        display: none;
        max-width: 100%;
        margin: 0 0 4rem;

        @media (min-width: 48rem) {
            display: block;
        }
    }

    .app-buttons {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        gap: 1rem;
        margin: 2.5rem 0 0;

        @media (min-width: 24rem) {
            flex-flow: row nowrap;
            justify-content: flex-start;
            align-items: center;
            width: 100%;
        }

        @media (min-width: 48rem) {
            margin: 3.5rem 0 0;
            gap: 1.5rem;
        }
    }

    .apple-button {
        width: auto;
        height: 57px;
    }

    .google-button {
        width: auto;
        height: 57px;
    }

    .powered-by {
        margin: 2.5rem 0 0;
    }

    .phone-screens {
        position: relative;
        z-index: -1;
        margin: 0 -6rem 0 -4rem;
        overflow: hidden;
        max-width: 75rem;

        img {
            margin: 0;
            display: block;
            width: 95%;
            max-width: 75rem;
            height: auto;
        }
    }
}

.section-footer {
    .wrapper {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-end;
        column-gap: 3rem;
        row-gap: 0.5rem;
        padding-bottom: 6rem;

        font-family: Manrope;
        font-style: normal;
        font-weight: 400;
        line-height: 1;

        @media (min-width: 48rem) {
            flex-flow: row nowrap;
            justify-content: space-between;
            align-items: flex-end;
            padding-bottom: 3rem;
        }
    }

    p {
        font-family: Manrope;
        font-size: 0.7rem;
        line-height: 1rem;
        margin: 0.5rem 0;
    }

    .privacy-link {
        white-space: nowrap;
        font-size: 0.75rem;

        @media (min-width: 48rem) {
            font-size: 0.675rem;
        }
    }
}