/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}


/* =========================
   CONTAINER
========================= */

.page {
    width: min(100% - 40px, 620px);
    margin: 0 auto;
    padding: 45px 0 30px;
}


/* =========================
   LOGO
========================= */

.brand {
    text-align: center;
    margin-bottom: 20px;
}

.logo-k {
    font-size: 78px;
    font-weight: 300;
    line-height: 0.8;
    letter-spacing: -10px;
    margin-left: -8px;
}

.brand-name {
    margin-top: 22px;
    margin-bottom: 6px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-name span {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 11px;
    margin-left: 11px;
}

.brand-name small {
    margin-top: 8px;

    font-size: 11px;
    font-weight: 300;

    letter-spacing: 6px;
    margin-left: 6px;
}


/* =========================
   INTRODUÇÃO
========================= */

.intro {
    text-align: center;
    margin-bottom: 27px;
}

.intro p {
    max-width: 300px;
    margin: 0 auto;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 300;

    color: #cfcfcf;
    letter-spacing: 0.2px;
}


/* =========================
   CAMPOS
========================= */

.field {
    margin-bottom: 13px;
}

.field input,
.other-field input {
    width: 100%;
    height: 54px;

    background: transparent;

    border: 1px solid #686868;
    border-radius: 5px;

    padding: 0 16px;

    color: #fff;

    font-size: 15px;
    font-weight: 300;

    outline: none;

    transition: border-color 0.2s ease;
}

.field input::placeholder,
.other-field input::placeholder {
    color: #a7a7a7;
}

.field input:focus,
.other-field input:focus {
    border-color: #fff;
}


/* =========================
   ORIGEM
========================= */

.origin {
    border: none;

    margin: 31px 0 0;
    padding: 0;
}

.origin legend {
    margin-bottom: 17px;

    font-size: 11px;
    font-weight: 400;

    letter-spacing: 2.5px;

    color: #fff;
}

.origin label {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 10px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 300;

    color: #dcdcdc;
}


/* =========================
   QUADRADO MINIMALISTA
========================= */

.origin input[type="radio"] {
    appearance: none;

    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    border: 1px solid #aaa;
    border-radius: 1px;

    background: transparent;

    cursor: pointer;

    position: relative;
}

.origin input[type="radio"]:checked {
    border-color: #fff;
}

.origin input[type="radio"]:checked::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    background: #fff;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}


/* =========================
   CAMPO "OUTRO"
========================= */

.other-field {
    margin-top: 14px;
}

.other-field[hidden] {
    display: none;
}


/* =========================
   BOTÃO
========================= */

button {
    width: 100%;
    height: 58px;

    margin-top: 25px;

    background: transparent;

    border: 1px solid #fff;
    border-radius: 5px;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 10px;
    font-weight: 400;

    letter-spacing: 2.5px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

button:hover {
    background: #fff;
    color: #000;
}

button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.arrow {
    font-size: 18px;
    line-height: 1;
}


/* =========================
   RODAPÉ
========================= */

footer {
    margin-top: 34px;

    display: flex;
    align-items: center;

    gap: 14px;
}

footer span {
    height: 1px;

    background: #333;

    flex: 1;
}

footer p {
    font-size: 8px;

    letter-spacing: 3px;

    color: #888;

    white-space: nowrap;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 600px) {

    .page {
        width: min(100% - 32px, 520px);
        padding-top: 40px;
    }

    .brand {
        margin-bottom: 20px;
    }

    .logo-k {
        font-size: 72px;
    }

    .brand-name {
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .brand-name span {
        font-size: 22px;
        letter-spacing: 9px;
        margin-left: 9px;
    }

    .brand-name small {
        margin-top: 7px;
        font-size: 10px;
        letter-spacing: 5px;
        margin-left: 5px;
    }

    .intro {
        margin-bottom: 25px;
    }

    .intro p {
        max-width: 300px;
        font-size: 13px;
        line-height: 1.4;
        letter-spacing: 0.1px;
    }

    .field {
        margin-bottom: 12px;
    }

    .field input,
    .other-field input {
        height: 52px;
        font-size: 15px;
        padding: 0 16px;
    }

    .origin {
        margin-top: 29px;
    }

    .origin legend {
        font-size: 11px;
        letter-spacing: 2.3px;
        margin-bottom: 16px;
    }

    .origin label {
        margin-bottom: 10px;
        font-size: 14px;
        gap: 9px;
    }

    .origin input[type="radio"] {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .other-field {
        margin-top: 13px;
    }

    button {
        height: 56px;
        margin-top: 23px;

        font-size: 10px;
        letter-spacing: 2.3px;
        gap: 11px;
    }

    .arrow {
        font-size: 17px;
    }

    footer {
        margin-top: 32px;
        gap: 13px;
    }

    footer p {
        font-size: 8px;
        letter-spacing: 3px;
    }
}