:root {
    --page-bg: #ffffff;
    --brand: #f59e22;
    --primary: #111;
    --max-width: 1000px;
    --page-bg: url("/assets/art-desktop.jpg");
    --page-bg-mobile: url("/assets/art-mobile.jpg");
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-block: 41px;
    height: 100vh;
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-image: var(--page-bg);
    background-repeat: no-repeat;
    background-position: 50% 8%;
    background-attachment: unset;
    background-size: contain;
    padding: 27px 39px 80px;
    margin-inline: auto;
    max-width: var(--max-width);
    max-height: var(--max-width);
}

.transition {
    transition: all 0.3s ease-in-out;
}

.btn-app {
    cursor: pointer;
    text-decoration: none;
}
.btn-app:hover {
    cursor: pointer;
    color: var(--brand);
}

header h1 {
    margin: 0;
    font-family: "swiss-721-bt-extended", sans-serif;
    font-weight: 900;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 50px;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 60px;
}

/* callouts (details + signup) */
.cta-row {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.muted {
    font-family: "swiss-721-bt-extended", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
    font-size: 21px;
    letter-spacing: 0.01em;
}
.spacer {
    height: 20dvh;
    min-height: 500px;
}

/* Responsive: small desktop */
@media (max-width: 1199px) {
    body {
        padding-block: 30px;
    }
    .page {
        padding: 15px 29px 40px;
    }
    header h1 {
        font-size: 40px;
        line-height: 45px;
    }
    .stage {
        padding: 32px 0;
    }
}
/* Responsive: tablet */
@media (max-width: 1023px) {
    body {
        height: auto;
    }
    .page {
        background-image: var(--page-bg-mobile);
        padding-block: 5px;
        max-width: 393px;
        max-height: 496px;
        background-position: 50% 8%;
    }
    header h1 {
        font-size: 18px;
        line-height: 36px;
    }
    .cta-row {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding-bottom: 12px;
    }
    .spacer {
        height: 560px;
        min-height: unset;
    }
    .muted {
        font-size: 16px;
    }
}

/* Mobile small: stack nicely and scale heading */
@media (max-width: 767px) {
    header h1 {
        line-height: 22px;
        font-size: 18px;
    }
    .spacer {
        height: 385px;
    }
}

/* small utility to keep vertical center space on mobile */

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}
.modal-panel {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    max-width: 420px;
    width: calc(100% - 48px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    z-index: 2;
}
.modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: 0;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.modal-panel h2 {
    margin: 0 0 8px 0;
    font-family: "swiss-721-bt-extended", sans-serif;
    font-weight: 900;
}
.modal-panel p {
    margin: 0 0 12px 0;
}
.modal-panel input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.modal-panel button {
    padding: 10px 14px;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
}
#modal-submit {
    background: #111;
    color: #fff;
}
