:root {
    --color-main: #1C1C1C;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-light: #F6F8FA;
    --color-input: #EFF3F8;
    --color-purple: #5E40AD;
    --color-placeholder: #77797B;
}

body {
    background-color: var(--color-light);
    color: var(--color-main);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 15px;
}

* {
    margin: 0;
    box-sizing: border-box;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    width: 100%;
    min-height: 100vh;
}

section img {
    display: block;
    height: 80px;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 450px;
    background-color: var(--color-white);
    border-radius: 15px;
}

form h1 {
    margin-bottom: 3rem;
    font-size: 1.6em;
    text-align: center;
}

form input,
form select,
form textarea {
    display: block;
    margin-bottom: 1rem;
    padding: 0 1rem;
    width: 100%;
    height: 50px;
    background-color: var(--color-input);
    outline: none;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
}

form textarea {
    padding: 1rem;
    height: 120px;
    resize: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
}

form input::placeholder {
    color: var(--color-placeholder);
}

form label {
    display: block;
    margin-bottom: 7px;
    padding: 0 1rem;
    width: 100%;
    text-align: start;
}

form button {
    display: block;
    margin-top: 2rem;
    width: 100%;
    max-width: 200px;
    height: 50px;
    background: linear-gradient(90deg, #7151B8 0%, #4C2FA2 100%);
    outline: none;
    border: none;
    border-radius: 25px;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
}

.privacy {
    position: relative;
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
    column-gap: 10px;
    margin-top: 2rem;
    width: 100%;
    color: #B2B5B8;
    font-size: 1.05em;
}

.privacy input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.privacy label {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.privacy div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    width: 100%;
    height: 100%;
    border: 2px solid #B2B5B8;
    border-radius: 50%;
    transition: border 0.2s, background-color 0.2s;
}

.privacy i {
    font-size: 14px;
    color: var(--color-white);
    transition: opacity 0.2s;
}

.privacy label:has(input:checked) div {
    background-color: var(--color-purple);
    border: 2px solid var(--color-purple);
}
.privacy a {
    color: inherit;
    text-decoration: underline;
}

/* Success frame */
.success {
    display: block;
    width: 100%;
    max-width: 450px;
    padding: 3rem 2rem;
    background-color: var(--color-white);
    border-radius: 30px;
}

.success h2 {
    margin: 0 auto;
    text-align: center;
    font-size: 1.4em;
}

.success h3 {
    margin: 3rem auto 2rem auto;
    text-align: center;
    font-size: 1.2em;
}

.success__store-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
    margin: 2rem 0 4rem 0;
    width: 100%;
}

.success__store-links img {
    display: block;
    height: 50px;
}

.success .spacer {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #D6E8EE;
    border-radius: 1.5px;
}

.success__sm {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.success__sm a {
    color: #A7B2BD;
    text-decoration: none;
    font-size: 1.5em;
}


/* Contact */
.contact {
    display: flex;
    flex-direction: column;
}

.contact section {
    gap: 0;
    min-height: unset;
}

.contact h2 {
    margin: 3rem 0 4rem 0;
    text-align: center;
    font-size: 1.6em;
}

.contact img {
    display: block;
    margin: 3rem auto;
    height: 80px;
}

.contact form {
    padding: 2rem;
}

.contact label {
    margin: 0.6rem auto 10px 1rem;
    text-align: start;
    font-size: 1.1em;
}

.contact p {
    font-size: 1.2em;
}

.contact a {
    color: #4C2FA2;
}

.contact__title {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

.contact__title h1 {
    font-size: 2em;
    text-align: center;
}

.contact__title p {
    margin: 2rem 0 1.5rem 0;
    text-align: center;
}

.contact__email {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    width: 100%;
    font-size: 1.15em;
}
.contact__email i {
    font-size: 1.25em;
}

.contact__faq {
    padding: 3rem 5rem;
}

.contact__faq div {
    display: block;
    margin-bottom: 2.5rem;
    width: 100%;
}

.contact__faq h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

.contact__faq p {
    padding-left: 1.6rem;
    line-height: 1.4em;
}

footer {
    display: block;
    padding: 0 2rem 2rem 2rem;
    text-align: center;
}

@media screen and (max-width: 480px) {
    .contact__faq {
        padding: 3rem 2rem;
    }
    .contact__faq p {
        padding-left: 0;
    }
}


/* Special classes */
.hidden {
    display: none;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 1rem 0;
}

ul li a {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-purple);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

ul li a:hover {
    background-color: #4C2FA2;
}