:root {
    --red: #c52247;
    --yellow: #f1c73a;
    --paper: #f7f4ed;
    --ink: #292725;
    --soft: #625d57;
    --dark: #2d2b29;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        "Myriad Pro",
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(197,34,71,.20),
            transparent 32%
        ),
        #2d2b29;

    color: white;
}

.texture {
    position: fixed;
    inset: 0;

    pointer-events: none;
    opacity: .25;

    background-image:
        repeating-linear-gradient(
            130deg,
            rgba(255,255,255,.025) 0,
            rgba(255,255,255,.025) 2px,
            transparent 2px,
            transparent 18px
        );
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

.header {
    width: min(1150px, calc(100% - 40px));
    margin: auto;

    min-height: 95px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,.15);
}

.brand {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ibero {
    background: var(--red);

    padding: 8px 10px;

    font-size: 22px;
    font-weight: 900;
}

.separator {
    width: 1px;
    height: 34px;

    background: rgba(255,255,255,.3);
}

.comvi {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.comvi strong {
    font-size: 23px;
}

.comvi span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .65;
}

main {
    width: min(1100px, calc(100% - 40px));
    margin: auto;

    min-height: calc(100vh - 180px);

    padding: 65px 0;

    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 90px;

    align-items: center;
}

.eyebrow {
    color: var(--yellow);

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.left h1 {
    margin: 0;

    font-size: clamp(54px, 7vw, 92px);
    line-height: .86;
    letter-spacing: -.06em;

    text-transform: uppercase;
}

.left h1 span {
    display: block;
    color: var(--red);
    text-shadow: 3px 3px var(--yellow);
}

.left p {
    max-width: 520px;
    margin-top: 32px;

    color: rgba(255,255,255,.7);
    line-height: 1.55;
}

.auth-card {
    background: var(--paper);
    color: var(--ink);

    padding: 36px 34px;

    box-shadow: 15px 15px 0 rgba(197,34,71,.65);
}

.lab-warning {
    padding: 13px 15px;
    margin-bottom: 28px;

    border-left: 5px solid var(--yellow);

    background: #eee3bc;
}

.lab-warning strong,
.lab-warning span {
    display: block;
}

.lab-warning strong {
    margin-bottom: 4px;

    font-size: 11px;
    letter-spacing: .1em;
}

.lab-warning span {
    color: #575047;
    font-size: 12px;
    line-height: 1.4;
}

.auth-step {
    position: relative;
}

.step {
    position: absolute;

    right: 0;
    top: -7px;

    font-size: 60px;
    font-weight: 900;
    line-height: 1;

    color: rgba(0,0,0,.07);
}

.tag {
    display: inline-block;

    padding: 5px 8px;
    margin-bottom: 15px;

    background: var(--red);
    color: white;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

h2 {
    margin: 0 0 12px;

    font-size: 34px;
    letter-spacing: -.035em;
}

.description {
    margin: 0 0 23px;

    color: var(--soft);
    line-height: 1.45;
}

label {
    display: block;

    margin: 17px 0 7px;

    font-size: 12px;
    font-weight: 800;
}

input {
    width: 100%;
    min-height: 49px;

    padding: 11px 12px;

    border: 1px solid #aaa49c;
    background: white;

    font-size: 16px;
    color: var(--ink);

    outline: none;
}

input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(197,34,71,.12);
}

button {
    width: 100%;

    margin-top: 23px;
    padding: 16px 17px;

    display: flex;
    justify-content: space-between;

    border: 0;
    cursor: pointer;

    background: var(--red);
    color: white;

    font-size: 15px;
    font-weight: 800;
}

button:hover {
    background: var(--ink);
}

.error {
    margin-top: 13px;
    padding: 11px;

    background: #f0d6d6;
    color: #8d2424;

    font-size: 12px;
}


.success-icon {
    display: grid;
    place-items: center;

    width: 62px;
    height: 62px;

    margin-bottom: 25px;

    border-radius: 50%;

    background: var(--red);
    color: white;

    font-size: 30px;
}

.success-message {
    margin-top: 25px;
    padding: 17px;

    background: var(--yellow);
}

.success-message strong,
.success-message span {
    display: block;
}

.success-message strong {
    margin-bottom: 5px;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.success-message span {
    font-size: 12px;
    line-height: 1.45;
}

.restart {
    background: var(--ink);
}

footer {
    width: min(1150px, calc(100% - 40px));
    margin: auto;

    min-height: 80px;

    display: flex;
    align-items: center;
    gap: 8px;

    border-top: 1px solid rgba(255,255,255,.12);

    font-size: 11px;
    color: rgba(255,255,255,.55);
}

footer strong {
    color: white;
}

[hidden] {
    display: none !important;
}

@media (max-width: 850px) {
    main {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .auth-card {
        width: min(100%, 500px);
        margin: auto;
    }
}

@media (max-width: 520px) {
    header,
    main,
    footer {
        width: calc(100% - 30px);
    }

    .comvi span {
        display: none;
    }

    main {
        padding: 40px 0 60px;
    }

    .left h1 {
        font-size: clamp(45px, 16vw, 68px);
    }

    .auth-card {
        padding: 27px 22px;
        box-shadow: 8px 8px 0 rgba(197,34,71,.65);
    }
}
