:root {

    --pink: #FF45CA;
    --pink-on-white: #B2308D;
    --blue: #185AA0;

    --dark: #111111;
    --dark2: #1B1B1B;
    --card: #202020;
    --card-light: #292929;

    --text: #F5F5F5;
    --muted: #CFCFCF;

    --success: #30C46C;
    --warning: #FFCC33;
    --danger: #FF5B5B;

    --radius: 14px;
    --transition: 0.20s ease;

    --content-width: 900px;

    --shadow:
        0 6px 18px rgba(0,0,0,.30);

}

/* ==========================================================
   RESET
========================================================== */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    background: var(--dark);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
button,
.button {

    font-family:
        "Archivo Expanded",
        Arial,
        sans-serif;

    letter-spacing: .03em;

}

p {

    color: var(--muted);

}

a {

    color: var(--pink);

}

a:hover {

    color: var(--blue);

}

/* ==========================================================
   SKIP LINK
========================================================== */

.skip-link {

    position: absolute;

    width: 1px;

    height: 1px;

    margin: -1px;

    padding: 0;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}

.skip-link:focus {

    width: auto;

    height: auto;

    margin: 0;

    overflow: visible;

    clip: auto;

    top: 1rem;

    left: 1rem;

    background: var(--pink-on-white);

    color: white;

    padding: .75rem 1.25rem;

    border-radius: 8px;

    font-weight: 700;

    text-decoration: none;

    z-index: 1000;

}

/* ==========================================================
   HEADER
========================================================== */

.hero {

    background:

        linear-gradient(
            135deg,
            var(--pink-on-white),
            var(--blue)
        );

    text-align: center;

    padding:

        3rem
        1.5rem
        4rem;

    border-bottom:

        3px solid var(--pink);

}

.banner-logo {

    display: block;

    width: 100%;
    max-width: 950px;

    margin:

        0 auto
        2rem;

    border-radius: var(--radius);

}

.hero h1 {

    font-size: 2.5rem;

    margin-bottom: 1rem;

}

.hero p {

    max-width: 700px;

    margin: auto;

    color: white;

    font-size: 1.1rem;

}

/* ==========================================================
   LAYOUT
========================================================== */

.wizard {

    width: 100%;

    max-width:

        var(--content-width);

    margin:

        3rem auto;

    padding:

        0 1rem
        4rem;

}

#wizard-form,
#waiver-form {

    width: 100%;

}

.wizard-page {

    display: none;

    animation:

        fadeIn
        .25s ease;

}

.wizard-page.active {

    display: block;

}

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(12px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

/* ==========================================================
   PROGRESS
========================================================== */

.progress-section {

    margin-bottom: 2rem;

}

.progress-text {

    text-align: center;

    font-weight: bold;

    margin-bottom: .75rem;

}

.progress-bar {

    width: 100%;

    height: 12px;

    background: #333;

    border-radius: 999px;

    overflow: hidden;

}

#progress-fill {

    width: 0%;

    height: 100%;

    background:

        linear-gradient(
            90deg,
            var(--pink),
            var(--blue)
        );

    transition:

        width .25s ease;

}

/* ==========================================================
   CARDS
========================================================== */

.notice,
.rule-card,
.form-card,
.success-card {

    background: var(--card);

    border:

        1px solid #333;

    border-radius:

        var(--radius);

    padding: 1.5rem;

    margin:

        1.5rem 0;

    box-shadow:

        var(--shadow);

}

.notice {

    border-left:

        6px solid var(--pink);

}

.notice strong {

    color: var(--pink);

}

.rule-card h3 {

    color: var(--pink);

    margin-bottom: 1rem;

}

.success-card {

    text-align: center;

}

/* ==========================================================
   DETAILS
========================================================== */

details {

    background:

        var(--card);

    border:

        1px solid #333;

    border-radius:

        var(--radius);

    margin-bottom: 1rem;

    overflow: hidden;

}

summary {

    cursor: pointer;

    font-weight: bold;

    padding: 1rem;

    list-style: none;

}

summary:hover {

    background:

        rgba(255,255,255,.04);

}

.legal-text {

    padding:

        0
        1rem
        1rem;

    color:

        var(--muted);

    white-space: pre-wrap;

}

/* ==========================================================
   CHECKBOX CARDS
========================================================== */

.checkbox-card {

    display: flex;

    align-items: flex-start;

    gap: 1rem;

    background:

        var(--card-light);

    border:

        1px solid #444;

    border-radius:

        var(--radius);

    padding: 1rem;

    margin:

        1rem 0;

    cursor: pointer;

    transition:

        var(--transition);

}

.checkbox-card:hover {

    border-color:

        var(--pink);

}

.checkbox-card input[type="checkbox"] {

    margin-top: .25rem;

    transform:

        scale(1.3);

    flex-shrink: 0;

}

.checkbox-card span {

    color:

        var(--text);

}

.page-header {

    margin-bottom: 2rem;

}

.page-step {

    font-size: .85rem;

    font-weight: bold;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--pink);

    margin-bottom: .5rem;

}

.page-title {

    margin: 0;

}

.page-title:focus {

    outline: none;

    box-shadow: 0 0 0 3px rgba(255, 69, 202, .35);

    border-radius: 4px;

}

/* ==========================================================
   WIZARD NAVIGATION BUTTONS
========================================================== */

.wizard-buttons {

    display: flex;

    justify-content: space-between;

    gap: 1rem;

    margin-top: 2rem;

}

.wizard-buttons:has(.wizard-button:only-child) {

    justify-content: flex-end;

}

.wizard-button {

    border: none;

    border-radius: 8px;

    padding: .9rem 1.85rem;

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: .02em;

    cursor: pointer;

    transition: var(--transition), transform var(--transition);

}

.next-button,
.submit-button {

    background: linear-gradient(
        135deg,
        var(--pink-on-white),
        var(--blue)
    );

    color: white;

    margin-left: auto;

    box-shadow: var(--shadow);

}

.next-button:hover,
.submit-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(0, 0, 0, .38);

}

.next-button:active,
.submit-button:active {

    transform: translateY(0);

}

.next-button:focus-visible,
.submit-button:focus-visible,
.back-button:focus-visible {

    outline: 2px solid var(--pink);

    outline-offset: 3px;

}

.back-button {

    background: transparent;

    color: var(--muted);

    border: 1px solid #444;

}

.back-button:hover {

    border-color: var(--pink);

    color: var(--text);

}

@media (max-width: 700px) {

    .wizard-buttons {

        flex-direction: column-reverse;

    }

    .wizard-button {

        width: 100%;

        min-height: 48px;

        font-size: 1.05rem;

    }

    .next-button,
    .submit-button {

        margin-left: 0;

    }

    .success-card .button {

        display: block;

        width: 100%;

        min-height: 48px;

        box-sizing: border-box;

    }

}

.submit-button:disabled {

    opacity: .6;

    cursor: not-allowed;

}

/* ==========================================================
   TEXT INPUTS (signature step)
========================================================== */

.form-card {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}

.form-card label {

    display: block;

    font-weight: bold;

    color: var(--text);

}

.form-card input[type="text"],
.form-card input[type="email"] {

    display: block;

    width: 100%;

    margin-top: .5rem;

    padding: .75rem;

    background: var(--dark2);

    border: 1px solid #444;

    border-radius: 8px;

    color: var(--text);

    font-size: 1rem;

    font-family: inherit;

}

.form-card input[type="text"]:focus,
.form-card input[type="email"]:focus {

    outline: none;

    border-color: var(--pink);

    box-shadow: 0 0 0 3px rgba(255, 69, 202, .35);

}

/* ==========================================================
   FIELD / PAGE ERRORS
========================================================== */

.field-error {

    color: var(--danger);

    font-size: .85rem;

    margin-top: .4rem;

}

.field-error:not([hidden]) {

    display: block;

}

input.validation-error {

    border: 1px solid var(--danger) !important;

}

.checkbox-card.validation-error {

    border-color: var(--danger);

}

.validation-message {

    background: rgba(255, 91, 91, .12);

    border: 1px solid var(--danger);

    color: var(--danger);

    border-radius: var(--radius);

    padding: 1rem;

    margin-top: 1.5rem;

    font-weight: bold;

    text-align: center;

}

/* ==========================================================
   SUCCESS PAGE CTA
========================================================== */

.success-actions {

    display: flex;

    justify-content: center;

    gap: 1rem;

    margin-top: 1.5rem;

    flex-wrap: wrap;

}

.success-actions .wizard-button {

    flex: 0 1 auto;

    margin-left: 0;

}

@media (max-width: 700px) {

    .success-actions {

        flex-direction: column;

    }

    .success-actions .wizard-button {

        width: 100%;

    }

}

.success-card .button {

    display: inline-block;

    background: linear-gradient(
        135deg,
        var(--pink-on-white),
        var(--blue)
    );

    color: white;

    font-weight: 700;

    padding: 1rem 1.75rem;

    border-radius: 8px;

    text-decoration: none;

    box-shadow: var(--shadow);

    transition: var(--transition), transform var(--transition);

    margin-top: 1.5rem;

}

.success-card .button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(0, 0, 0, .38);

}

#confirmation-number {

    color: var(--pink);

    margin: 1rem 0;

    font-size: 1.5rem;

}

/* ==========================================================
   REDUCED MOTION

   Respects the user's OS-level preference for reduced
   motion — disables the page-change fade/slide and the
   button hover-lift, which are the only non-essential
   animations on this page.
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .wizard-page {

        animation: none;

    }

    .next-button:hover,
    .submit-button:hover,
    .success-card .button:hover {

        transform: none;

    }

    * {

        transition-duration: 0.01ms !important;

    }

}