*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --blue: #075eea;
    --blue-deep: #0648c8;
    --cyan: #1eb7e8;
    --green: #2fcf8f;
    --ink: #17345f;
    --muted: #627491;
    --line: #d7e2f2;
    --danger: #ef3340;
    --shadow: 0 20px 60px rgba(31, 82, 143, .16);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: #eef8ff;
    font-family: var(--font-family);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.register-page {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(234, 248, 255, .45) 0%, #f7fcff 42%, #ffffff 76%),
        url('/images/event-bg.png') top center / 1000px auto no-repeat;
}

.r2-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.r2-hero {
    min-height: 680px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(245, 252, 255, .97) 0%, rgba(238, 249, 255, .88) 35%, rgba(210, 241, 255, .38) 58%, rgba(233, 250, 255, .2) 100%),
        url('/images/conference-header-bg.jpg') center / cover no-repeat;
}

.r2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 82% 17%, rgba(255, 255, 255, .95) 0 7%, transparent 18%),
        radial-gradient(circle at 64% 23%, rgba(255, 255, 255, .8) 0 4%, transparent 12%),
        linear-gradient(180deg, rgba(41, 191, 236, .12), rgba(255, 255, 255, .2));
}

.r2-hero-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 172px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.r2-wave {
    position: absolute;
    left: -8vw;
    right: -8vw;
    bottom: 0;
    height: 130px;
    transform-origin: center bottom;
    clip-path: ellipse(78% 52% at 50% 100%);
}

.r2-wave-blue {
    bottom: 8px;
    height: 138px;
    background: linear-gradient(90deg, #075eea 0%, #0877f0 48%, #16aee3 100%);
    opacity: .96;
    transform: rotate(1.8deg) translateY(36px);
}

.r2-wave-cyan {
    bottom: 20px;
    height: 118px;
    background: linear-gradient(90deg, #20c7ee 0%, #42d3e8 58%, #6ee7d7 100%);
    opacity: .9;
    transform: rotate(-1.4deg) translateY(42px);
}

.r2-wave-green {
    bottom: 30px;
    height: 92px;
    background: linear-gradient(90deg, #2fcf8f 0%, #55dca4 56%, #9af0c4 100%);
    opacity: .88;
    transform: rotate(1.2deg) translateY(40px);
}

.r2-wave-white {
    bottom: -54px;
    height: 138px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), #f5fbff 72%);
    clip-path: ellipse(82% 56% at 50% 100%);
}

.r2-nav {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.r2-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .2px;
}

.r2-footer .r2-logo {
    color: #fff;
    margin-bottom: 18px;
}

.r2-logo-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #0865f2, #1ec8e7);
    box-shadow: inset 0 -8px 18px rgba(0, 57, 160, .28);
    transform: rotate(30deg);
}

.r2-logo-mark svg {
    width: 32px;
    height: 32px;
    transform: rotate(-30deg);
}

.r2-logo span {
    display: block;
    font-size: 19px;
}

.r2-menu {
    display: flex;
    align-items: center;
    gap: 46px;
    color: #143b6d;
    font-size: 15px;
    font-weight: 700;
}

.r2-nav-cta,
.r2-primary-btn,
.r2-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    border-radius: 10px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}

.r2-nav-cta,
.r2-primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #075be8, #0067ff);
    box-shadow: 0 14px 32px rgba(3, 93, 231, .24);
}

.r2-nav-cta {
    min-width: 158px;
    padding: 0 24px;
}

.r2-outline-btn {
    min-width: 250px;
    padding: 0 28px;
    color: var(--blue);
    background: rgba(255, 255, 255, .76);
    border-color: rgba(7, 94, 234, .65);
    box-shadow: 0 10px 26px rgba(21, 94, 181, .08);
}

.r2-nav-cta:hover,
.r2-primary-btn:hover,
.r2-outline-btn:hover {
    transform: translateY(-2px);
}

.r2-hero-content {
    width: min(900px, 100%);
    padding-top: 72px;
    position: relative;
    z-index: 1;
}

.r2-title {
    margin: 0;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 0;
}

.r2-title span {
    display: block;
    margin-top: 6px;
    color: transparent;
    background: linear-gradient(90deg, #118eed, #22bfd0 48%, #31c985 86%);
    -webkit-background-clip: text;
    background-clip: text;
}

.r2-kicker {
    margin: 26px 0;
    color: #274d7f;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.r2-meta {
    display: grid;
    gap: 13px;
    margin-bottom: 36px;
    font-size: 16px;
    color: #25456f;
    font-weight: 600;
}

.r2-meta-item,
.r2-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.r2-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--blue);
}

.r2-float {
    position: absolute;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, rgba(7, 94, 234, .82), rgba(33, 195, 230, .82));
    box-shadow: 0 22px 36px rgba(0, 91, 209, .2);
    backdrop-filter: blur(10px);
    clip-path: polygon(25% 6%, 76% 8%, 100% 50%, 76% 92%, 25% 94%, 0 50%);
    z-index: 1;
}

.r2-float svg {
    width: 44%;
    height: 44%;
}

.r2-float-people {
    width: 110px;
    height: 110px;
    top: 210px;
    right: 94px;
}

.r2-float-chart {
    width: 70px;
    height: 70px;
    right: 42%;
    bottom: 178px;
    background: linear-gradient(145deg, rgba(42, 206, 142, .9), rgba(80, 220, 158, .85));
}

.r2-main {
    position: relative;
    z-index: 2;
    margin-top: -54px;
    padding-bottom: 32px;
}

.r2-info-row {
    width: min(1120px, calc(100% - 48px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin: 0 auto 38px;
}

.r2-info-card {
    min-height: 206px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 34px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(53, 120, 188, .11);
}

.r2-info-card.program {
    background: linear-gradient(110deg, #e6f6ff, #f8fdff);
}

.r2-info-card.directions {
    background: linear-gradient(110deg, #e9fff3, #f6fffb);
}

.r2-info-card h3 {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.2;
    text-transform: uppercase;
}

.r2-info-card.directions h3 {
    color: #158958;
}

.r2-info-card p {
    max-width: 390px;
    margin: 0 0 24px;
    color: #45617f;
    font-weight: 600;
}

.r2-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    color: var(--blue);
    border: 1.5px solid currentColor;
    background: rgba(255, 255, 255, .65);
    font-weight: 900;
}

.directions .r2-mini-btn {
    color: #158958;
}

.r2-card-art {
    width: 190px;
    height: 140px;
    flex: 0 0 190px;
    display: grid;
    place-items: center;
    color: var(--blue);
}

.r2-card-art svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 18px 22px rgba(34, 111, 210, .18));
}

.r2-form-card {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 48px 26px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(202, 218, 238, .9);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.r2-section-title {
    margin: 0;
    color: var(--blue);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
}

.r2-section-subtitle {
    margin: 12px 0 30px;
    color: #405d84;
    text-align: center;
    font-weight: 600;
}

.r2-validation-summary {
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    color: #b42318;
    background: #fff4f4;
    font-weight: 600;
}

.r2-validation-summary ul {
    margin: 0;
    padding-left: 20px;
}

.r2-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 24px;
}

.r2-field {
    min-width: 0;
}

.r2-label {
    display: block;
    margin-bottom: 9px;
    color: #183964;
    font-size: 15px;
    font-weight: 800;
}

.r2-required {
    color: var(--danger);
}

.r2-input-wrap {
    position: relative;
}

.r2-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    color: #8aa3c2;
    transform: translateY(-50%);
    pointer-events: none;
}

.r2-control {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 48px;
    color: #17345f;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.r2-control::placeholder {
    color: #9cadc4;
}

.r2-control:focus {
    border-color: rgba(7, 94, 234, .8);
    box-shadow: 0 0 0 4px rgba(7, 94, 234, .1);
}

.r2-radio-row {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.r2-radio {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #183964;
    font-weight: 600;
}

.r2-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.r2-upload-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.r2-upload-zone {
    position: relative;
    min-height: 184px;
    display: grid;
    place-items: center;
    padding: 24px 14px;
    text-align: center;
    border: 1.5px dashed #b8cae1;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.r2-upload-zone:hover,
.r2-upload-zone.drag-over {
    border-color: var(--blue);
    background: #f5fbff;
    transform: translateY(-1px);
}

.r2-upload-zone.has-file {
    border-style: solid;
    border-color: var(--green);
}

.r2-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.r2-upload-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    color: var(--blue);
    border-radius: 50%;
    background: #eaf3ff;
}

.r2-upload-avatar svg {
    width: 30px;
    height: 30px;
}

.r2-upload-title {
    display: block;
    margin: 0 0 4px;
    color: #183964;
    font-weight: 800;
}

.r2-upload-hint {
    display: block;
    margin: 0;
    color: #627491;
    font-size: 13px;
    font-weight: 600;
}

.r2-upload-preview {
    display: none;
}

.r2-upload-preview img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 3px solid #dff5ec;
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(34, 122, 82, .15);
}

.r2-upload-preview .file-name {
    display: block;
    max-width: 180px;
    margin: 10px auto 0;
    overflow: hidden;
    color: #167a52;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r2-upload-zone.has-file .r2-upload-placeholder {
    display: none;
}

.r2-upload-zone.has-file .r2-upload-preview {
    display: block;
}

.r2-validation-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
}

.r2-captcha-field {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    min-height: 78px;
}

.r2-form-submit {
    grid-column: 1 / -1;
    margin-top: 12px;
}

.r2-submit-btn {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(100deg, #075be8 0%, #16aee3 50%, #2fcf8f 100%);
    box-shadow: 0 14px 28px rgba(11, 105, 219, .18);
    font-weight: 900;
    cursor: pointer;
}

.r2-submit-btn:disabled {
    opacity: .72;
    cursor: wait;
}

.r2-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: r2-spin .7s linear infinite;
}

.r2-submit-btn.loading .r2-spinner {
    display: inline-block;
}

.r2-privacy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: -2px;
    color: #72839a;
    font-size: 13px;
    font-weight: 600;
}

.r2-map {
    width: min(1260px, calc(100% - 48px));
    min-height: 330px;
    position: relative;
    margin: 34px auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(205, 218, 234, .75);
    box-shadow: 0 18px 40px rgba(31, 82, 143, .12);
    background: #e8f0f8;
}

.r2-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.r2-map-card {
    visibility: hidden;
    position: absolute;
    left: 34px;
    top: 22px;
    width: min(280px, calc(100% - 68px));
    z-index: 1;
    padding: 24px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 36px rgba(32, 72, 118, .14);
}

.r2-map-card h3 {
    margin: 0 0 12px;
    color: #183964;
    font-size: 18px;
}

.r2-map-card p {
    margin: 0 0 20px;
    color: #627491;
    font-weight: 600;
}

.r2-footer {
    color: #cce5ff;
    background: linear-gradient(135deg, #0059bd, #003c94);
}

.r2-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr .85fr 1fr;
    gap: 56px;
    padding: 40px 0 34px;
}

.r2-footer h4 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 16px;
}

.r2-footer p,
.r2-footer a,
.r2-footer span {
    color: #cce5ff;
    font-size: 14px;
    font-weight: 500;
}

.r2-footer p {
    margin: 0 0 18px;
}

.r2-footer-links {
    display: grid;
    gap: 10px;
}

.r2-socials {
    display: flex;
    gap: 10px;
}

.r2-socials span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.r2-footer-bottom {
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #bddaff;
    font-size: 13px;
}

.r2-back-top {
    position: fixed;
    right: 28px;
    bottom: 26px;
    z-index: 20;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: rgba(255, 255, 255, .95);
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(17, 78, 151, .18);
}

@keyframes r2-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .r2-menu {
        display: none;
    }

    .r2-float {
        opacity: .45;
    }

    .r2-form-card {
        padding: 30px 28px 24px;
    }

    .r2-info-card {
        padding: 28px;
    }

    .r2-card-art {
        width: 142px;
        flex-basis: 142px;
    }
}

@media (max-width: 780px) {
    .r2-container,
    .r2-form-card,
    .r2-info-row,
    .r2-map {
        width: min(100% - 28px, 1120px);
    }

    .r2-hero {
        min-height: 650px;
    }

    .r2-nav {
        height: 82px;
    }

    .r2-logo span {
        font-size: 15px;
    }

    .r2-logo-mark {
        width: 44px;
        height: 44px;
    }

    .r2-nav-cta {
        min-width: 0;
        padding: 0 16px;
        min-height: 48px;
    }

    .r2-hero-content {
        padding-top: 42px;
    }

    .r2-kicker {
        font-size: 16px;
    }

    .r2-form-grid,
    .r2-info-row,
    .r2-footer-grid {
        grid-template-columns: 1fr;
    }

    .r2-upload-pair {
        grid-template-columns: 1fr;
    }

    .r2-info-card {
        align-items: flex-start;
    }

    .r2-card-art {
        display: none;
    }

    .r2-map {
        min-height: 360px;
    }

    .r2-footer-grid {
        gap: 26px;
    }
}

@media (max-width: 520px) {
    .r2-nav-cta {
        width: 48px;
        padding: 0;
    }

    .r2-nav-cta span {
        display: none;
    }

    .r2-title {
        font-size: 39px;
    }

    .r2-form-card {
        padding: 26px 18px 22px;
    }

    .r2-radio-row {
        gap: 14px;
        flex-wrap: wrap;
    }

    .r2-map-card {
        left: 16px;
        top: 16px;
        width: calc(100% - 32px);
    }

    .r2-back-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }
}
