:root {
    --ibero-red: #c52247;
    --deep-red: #8b2828;
    --yellow: #f1c73a;
    --cream: #eee7d9;
    --paper: #f7f4ed;
    --ink: #292725;
    --ink-soft: #4e4a46;
    --grey: #77716b;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

    color: var(--paper);

    background:
        radial-gradient(
            circle at 14% 20%,
            rgba(197, 34, 71, .18),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 72%,
            rgba(241, 199, 58, .09),
            transparent 30%
        ),
        #2d2b29;

    overflow-x: hidden;
}

.texture {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .34;

    background-image:
        repeating-radial-gradient(
            circle at 20% 30%,
            rgba(255,255,255,.045) 0,
            rgba(255,255,255,.045) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            130deg,
            rgba(0,0,0,.04) 0,
            rgba(0,0,0,.04) 2px,
            transparent 2px,
            transparent 18px
        );
}

.site-header,
.landing,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    min-height: 104px;

    display: flex;
    justify-content: space-between;
    align-items: center;

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

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

.ibero-wordmark {
    background: var(--ibero-red);
    color: white;

    font-size: 23px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.06em;

    padding: 9px 11px 8px;
}

.brand-line {
    height: 33px;
    width: 1px;
    background: rgba(255,255,255,.38);
}

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

.comvi-wordmark strong {
    font-size: 24px;
    font-weight: 800;
}

.comvi-wordmark span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .72;
}

.header-tag {
    font-size: 10px;
    letter-spacing: .16em;
    font-weight: 700;
    opacity: .62;
}

.landing {
    width: min(1180px, calc(100% - 48px));
    margin: auto;

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

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, .72fr);
    gap: 80px;

    align-items: center;
    padding: 72px 0 86px;
}

.hero-copy {
    position: relative;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;

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

    color: var(--yellow);
}

.star {
    font-size: 28px;
    line-height: 1;
}

h1 {
    margin: 0;

    font-size: clamp(58px, 7vw, 104px);
    line-height: .85;
    letter-spacing: -.065em;

    font-weight: 900;
    text-transform: uppercase;

    max-width: 800px;
}

h1 span {
    display: block;
}

.display-accent {
    position: relative;
    color: var(--ibero-red);
    text-shadow: 3px 3px 0 var(--yellow);
}

.display-accent::after {
    content: "";
    position: absolute;

    left: 2%;
    bottom: -10px;

    width: 63%;
    height: 6px;

    background: var(--yellow);
    transform: rotate(-1.5deg);
}

.intro {
    max-width: 610px;
    margin: 38px 0 0;

    font-size: 18px;
    line-height: 1.55;

    color: rgba(255,255,255,.75);
}

.poster-elements .spark {
    position: absolute;
    color: var(--yellow);
    font-size: 48px;
    opacity: .85;
}

.spark-one {
    right: 5%;
    top: -15%;
}

.spark-two {
    right: 17%;
    bottom: -23%;
}

.line {
    position: absolute;
    display: block;

    height: 4px;
    background: var(--ibero-red);

    transform: rotate(-5deg);
}

.line-one {
    width: 110px;
    right: 2%;
    top: 25%;
}

.line-two {
    width: 65px;
    right: 1%;
    top: calc(25% + 12px);

    background: var(--yellow);
}

.register-card,
.success-card {
    position: relative;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,.015) 0,
            rgba(0,0,0,.015) 1px,
            transparent 1px,
            transparent 5px
        ),
        var(--paper);

    color: var(--ink);

    padding: 48px 42px 40px;

    box-shadow:
        17px 17px 0 rgba(139,40,40,.75),
        30px 30px 0 rgba(0,0,0,.14);

    transform: rotate(.5deg);
}

.register-card::before {
    content: "";
    position: absolute;

    width: 94px;
    height: 13px;

    background: var(--yellow);

    left: 50%;
    top: -7px;

    transform: translateX(-50%) rotate(-2deg);
}

.card-number {
    position: absolute;
    right: 28px;
    top: 23px;

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

    font-weight: 900;
    letter-spacing: -.08em;

    color: rgba(41,39,37,.08);
}

.card-label {
    display: inline-block;

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

    padding: 6px 10px 5px;

    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 900;

    transform: rotate(-2deg);
    margin-bottom: 18px;
}

.register-card h2,
.success-card h2 {
    margin: 0 0 17px;

    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -.035em;

    max-width: 390px;
}

.card-description {
    margin: 0 0 27px;

    color: var(--ink-soft);
    line-height: 1.5;
    font-size: 16px;
}

.primary-button {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    text-decoration: none;

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

    padding: 18px 20px;

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

    border: 2px solid var(--ibero-red);

    transition:
        transform .16s ease,
        background .16s ease,
        color .16s ease;
}

.primary-button:hover {
    transform: translate(-3px, -3px);
    background: var(--ink);
    border-color: var(--ink);
}

.primary-button:focus-visible {
    outline: 4px solid var(--yellow);
    outline-offset: 4px;
}

.arrow {
    font-size: 25px;
}

.security-note {
    display: flex;
    gap: 10px;

    margin: 19px 0 0;

    color: #68615b;
    font-size: 12px;
    line-height: 1.45;
}

.security-note p {
    margin: 0;
}

.security-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    flex: 0 0 20px;
    height: 20px;

    border: 1px solid #777;
    border-radius: 50%;

    font-size: 11px;
}

.mail-notice {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;

    align-items: start;

    margin-top: 26px;
    padding-top: 24px;

    border-top: 1px solid rgba(41,39,37,.18);
}

.mail-symbol {
    color: var(--ibero-red);
    font-size: 27px;
}

.mail-notice strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mail-notice p {
    margin: 5px 0 0;

    font-size: 13px;
    line-height: 1.45;

    color: var(--ink-soft);
}

.points-message {
    margin-top: 25px;
    padding: 19px 18px;

    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;

    align-items: start;

    background: #292725;
    color: #f7f4ed;

    transform: rotate(-.4deg);
}

.points-plus {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    background: var(--yellow);
    color: var(--ink);

    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.points-message strong {
    display: block;

    color: var(--yellow);

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

    margin-bottom: 5px;
}

.points-message p {
    margin: 0;

    font-size: 13px;
    line-height: 1.45;

    color: rgba(255,255,255,.76);
}

.success-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    margin-bottom: 27px;

    border-radius: 50%;

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

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

.success-card p {
    color: var(--ink-soft);
    line-height: 1.55;
}

.success-points {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 15px;

    margin-top: 27px;
    padding: 20px;

    background: var(--yellow);
    transform: rotate(-.5deg);
}

.success-points > span {
    font-size: 42px;
    line-height: .85;
    font-weight: 900;

    color: var(--ibero-red);
}

.success-points strong {
    display: block;

    text-transform: uppercase;
    letter-spacing: .06em;

    font-size: 12px;
    margin-bottom: 4px;
}

.success-points p {
    margin: 0;

    font-size: 13px;
    line-height: 1.4;

    color: var(--ink);
}

.success-footer {
    margin-top: 28px;
    padding-top: 18px;

    border-top: 1px solid rgba(41,39,37,.2);
    font-weight: 700;
}

.site-footer {
    width: min(1180px, calc(100% - 48px));
    margin: auto;

    min-height: 86px;

    display: flex;
    justify-content: space-between;
    align-items: center;

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

    color: rgba(255,255,255,.52);

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

.site-footer strong {
    color: white;
    margin-right: 8px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .site-header {
        min-height: 85px;
    }

    .header-tag,
    .comvi-wordmark span {
        display: none;
    }

    .landing {
        grid-template-columns: 1fr;
        gap: 55px;
        padding-top: 55px;
    }

    h1 {
        font-size: clamp(54px, 15vw, 88px);
    }

    .register-card,
    .success-card {
        width: min(100%, 520px);
        margin: auto;
        transform: none;
    }

    .poster-elements {
        display: none;
    }
}

@media (max-width: 560px) {
    .site-header,
    .landing,
    .site-footer {
        width: min(100% - 30px, 1180px);
    }

    .site-header {
        min-height: 76px;
    }

    .brand {
        gap: 12px;
    }

    .ibero-wordmark {
        font-size: 19px;
    }

    .comvi-wordmark strong {
        font-size: 19px;
    }

    .landing {
        padding: 42px 0 65px;
    }

    h1 {
        font-size: clamp(48px, 16vw, 72px);
    }

    .intro {
        font-size: 16px;
    }

    .register-card,
    .success-card {
        padding: 40px 25px 32px;

        box-shadow:
            9px 9px 0 rgba(139,40,40,.75),
            17px 17px 0 rgba(0,0,0,.14);
    }

    .register-card h2,
    .success-card h2 {
        font-size: 31px;
    }

    .site-footer {
        padding: 25px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
