:root {
    --ink: #090709;
    --ink-soft: #110d11;
    --cream: #f8f0e4;
    --muted: #b9ada7;
    --gold: #d6ad62;
    --gold-light: #f5dc9a;
    --gold-deep: #8f652b;
    --magenta: #8d174e;
    --line: rgba(233, 202, 139, 0.22);
    --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 8%, rgba(121, 18, 67, 0.22), transparent 26rem),
        var(--ink);
    color: var(--cream);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    transform: translateY(-150%);
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.hero {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: start center;
    isolation: isolate;
}

.hero__video-frame {
    position: relative;
    width: min(100%, 590px);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #050405;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero__scroll-target {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: block;
    height: clamp(5.5rem, 24vw, 7rem);
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.hero__scroll-target:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: -4px;
}

.hero__glow {
    position: absolute;
    z-index: -1;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}

.hero__glow--one {
    top: 14%;
    left: -22rem;
    background: var(--magenta);
}

.hero__glow--two {
    right: -25rem;
    bottom: 5%;
    background: var(--gold-deep);
}

.countdown {
    position: absolute;
    top: 75px;
    left: 50%;
    z-index: 2;
    display: grid;
    width: calc(100% - 5.5rem);
    max-width: 230px;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: clamp(0.12rem, 0.9vw, 0.28rem);
    padding: 0.34rem;
    transform: translateX(-50%);
    border: 1px solid rgba(244, 219, 159, 0.5);
    border-radius: 0.7rem;
    background: linear-gradient(135deg, rgba(12, 9, 12, 0.82), rgba(30, 15, 23, 0.66));
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 248, 220, 0.18),
        0 0 22px rgba(211, 164, 83, 0.1);
    backdrop-filter: blur(10px);
}

.countdown__unit {
    display: grid;
    min-width: 0;
    padding: 0.32rem 0.08rem 0.28rem;
    place-items: center;
    border-radius: 0.45rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

.countdown__number {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 6.4vw, 1.7rem);
    font-variant-numeric: tabular-nums;
    line-height: 0.9;
    letter-spacing: -0.07em;
    color: var(--gold-light);
    text-shadow: 0 0 22px rgba(245, 220, 154, 0.2);
}

.countdown__label {
    margin-top: 0.22rem;
    color: rgba(255, 248, 235, 0.82);
    font-size: clamp(0.38rem, 1.45vw, 0.47rem);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.countdown__separator {
    transform: translateY(-0.24rem);
    color: rgba(245, 220, 154, 0.72);
    font-family: var(--serif);
    font-size: 0.82rem;
}

.reveal-section {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--ink), rgba(17, 10, 14, 0.94) 52%, var(--ink)),
        radial-gradient(circle at 50% 50%, rgba(129, 23, 72, 0.18), transparent 50%);
}

.section-shell {
    width: min(calc(100% - 2.5rem), 720px);
    margin-inline: auto;
    text-align: center;
}

.section-shell--wide {
    width: min(calc(100% - 2.5rem), 880px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.35rem;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
    width: 1.8rem;
    height: 1px;
    content: "";
    background: currentColor;
    opacity: 0.55;
}

h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 10vw, 5.7rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

h1 em {
    display: inline;
    color: var(--gold-light);
    font-weight: 400;
}

.lead-copy {
    max-width: 680px;
    margin: 1.75rem auto 0;
    color: #d7ccca;
    font-size: 1.035rem;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    text-wrap: balance;
}

.carousel {
    position: relative;
    width: 100%;
    max-height: 400px;
    margin-top: 2.5rem;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    width: max-content;
    animation: carousel-move 64s linear infinite;
    will-change: transform;
}

.carousel__group {
    display: flex;
    flex-shrink: 0;
    gap: 0.8rem;
    padding-right: 0.8rem;
}

.carousel__item {
    position: relative;
    width: clamp(142px, 43vw, 280px);
    aspect-ratio: 1;
    margin: 0;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(241, 212, 152, 0.15);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(143, 40, 84, 0.18), transparent 65%),
        #100c0f;
}

.carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.carousel__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(1.5rem, 8vw, 7rem);
    pointer-events: none;
}

.carousel__fade--left {
    left: 0;
    background: linear-gradient(90deg, var(--ink), transparent);
}

.carousel__fade--right {
    right: 0;
    background: linear-gradient(-90deg, var(--ink), transparent);
}

@keyframes carousel-move {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.signup-section {
    position: relative;
    padding: 4rem 1.25rem 5rem;
    background:
        radial-gradient(circle at 50% 20%, rgba(141, 23, 78, 0.2), transparent 32rem),
        var(--ink);
}

.signup-card {
    position: relative;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: clamp(1.4rem, 5vw, 3.5rem);
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 35%),
        rgba(17, 13, 17, 0.88);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.signup-card::before {
    position: absolute;
    inset: 0.55rem;
    border: 1px solid rgba(214, 173, 98, 0.09);
    border-radius: 1.25rem;
    content: "";
    pointer-events: none;
}

.signup-card__ornament {
    position: absolute;
    top: 0;
    left: 50%;
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    transform: translate(-50%, -50%);
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold-light);
    box-shadow: 0 0 25px rgba(214, 173, 98, 0.22);
}

.signup-card__intro {
    position: relative;
    margin: 0 0 2.75rem;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 6.5vw, 2.6rem);
    line-height: 1.24;
    text-align: center;
    text-wrap: balance;
}

.signup-card__intro-line {
    display: block;
}

.signup-card__intro-line + .signup-card__intro-line {
    margin-top: 0.85em;
}

.signup-card__intro strong {
    color: var(--gold-light);
    font-weight: 400;
    text-transform: uppercase;
}

.signup-card__intro em {
    color: var(--gold-light);
    font-weight: 400;
}

.lead-form {
    position: relative;
    display: grid;
    gap: 1.25rem;
}

.field {
    display: grid;
    gap: 0.55rem;
}

.field label {
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.field input {
    width: 100%;
    min-height: 3.8rem;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.8rem;
    outline: none;
    background: rgba(3, 2, 3, 0.62);
    color: var(--cream);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder {
    color: #736a6d;
}

.field input:focus {
    border-color: var(--gold);
    background: rgba(12, 8, 11, 0.86);
    box-shadow: 0 0 0 3px rgba(214, 173, 98, 0.12);
}

.field input[aria-invalid="true"] {
    border-color: #dc7272;
}

.phone-field {
    position: relative;
}

.phone-field__prefix {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.phone-field input {
    padding-left: 3.35rem;
}

.field__error {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.4;
}

.field__error {
    min-height: 0;
    color: #ef9d9d;
}

.field__error:empty {
    display: none;
}

.consent {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: 0.75rem;
    align-items: start;
    color: #c5bbbd;
    cursor: pointer;
    font-size: 0.83rem;
    line-height: 1.55;
}

.consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.consent__check {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.08rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.3rem;
    background: rgba(0, 0, 0, 0.28);
}

.consent input:checked + .consent__check {
    border-color: var(--gold);
    background: var(--gold);
}

.consent input:checked + .consent__check::after {
    position: absolute;
    top: 0.13rem;
    left: 0.38rem;
    width: 0.32rem;
    height: 0.62rem;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    content: "";
    transform: rotate(42deg);
}

.consent input:focus-visible + .consent__check {
    box-shadow: 0 0 0 3px rgba(214, 173, 98, 0.2);
}

.consent a {
    color: var(--gold-light);
    text-underline-offset: 0.2em;
}

.consent-error {
    margin-top: -0.8rem;
    padding-left: 2rem;
}

.cta-button {
    position: relative;
    display: grid;
    min-height: 4.25rem;
    margin-top: 0.25rem;
    padding: 0.8rem 4rem 0.8rem 1.2rem;
    overflow: hidden;
    grid-template-columns: 1fr;
    place-items: center;
    border: 1px solid #f4d38b;
    border-radius: 0.85rem;
    background:
        linear-gradient(115deg, #9a6a2e, #f1d184 48%, #ad7838 100%);
    box-shadow:
        0 12px 35px rgba(171, 114, 45, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    color: #1b120a;
    cursor: pointer;
    font-size: clamp(0.78rem, 3.5vw, 0.98rem);
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button::before {
    position: absolute;
    top: -100%;
    left: -35%;
    width: 26%;
    height: 300%;
    content: "";
    transform: rotate(20deg);
    background: rgba(255, 255, 255, 0.35);
    animation: button-shine 3.8s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 45px rgba(171, 114, 45, 0.38);
}

.cta-button:focus-visible {
    outline: 3px solid var(--cream);
    outline-offset: 3px;
}

.cta-button:disabled {
    cursor: wait;
    filter: saturate(0.7);
}

.cta-button__arrow {
    position: absolute;
    right: 1rem;
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    border: 1px solid rgba(27, 18, 10, 0.35);
    border-radius: 50%;
    font-size: 1.35rem;
}

@keyframes button-shine {
    0%,
    62% {
        transform: translateX(-200%) rotate(20deg);
    }
    90%,
    100% {
        transform: translateX(750%) rotate(20deg);
    }
}

.form-privacy {
    margin: -0.4rem 0 0;
    color: #81787b;
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
}

.form-alert {
    position: relative;
    margin: 0 0 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(231, 122, 122, 0.35);
    border-radius: 0.8rem;
    outline: none;
    background: rgba(123, 31, 43, 0.16);
    color: #f0c4c4;
    font-size: 0.84rem;
    line-height: 1.5;
}

.form-alert ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.trust-section {
    display: grid;
    padding: 1.2rem 1.25rem 4.5rem;
    place-items: center;
    background: var(--ink);
}

.brand-mark {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.institutional-image {
    width: min(100%, 676px);
    height: auto;
    margin-top: 2rem;
}

.site-footer {
    padding: 2.25rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #050405;
    color: #8e8587;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1.5;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-email {
    margin: 0.9rem 0 0;
    font-size: 0.75rem;
}

.meta-disclaimer {
    max-width: 820px;
    margin: 1.6rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(135, 135, 135, 0.22);
    color: #878787;
    font-family: Roboto, Arial, sans-serif;
    font-size: 6px;
    line-height: 1.5;
}

.thank-you-page {
    min-height: 100svh;
}

.thank-you {
    position: relative;
    display: grid;
    min-height: 100svh;
    padding: 1.25rem;
    overflow: hidden;
    place-items: center;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 35%, rgba(135, 24, 75, 0.28), transparent 34rem),
        linear-gradient(155deg, #080608, #100b0e 55%, #070506);
}

.thank-you::before,
.thank-you::after {
    position: absolute;
    z-index: -1;
    width: 32rem;
    height: 32rem;
    border: 1px solid rgba(214, 173, 98, 0.09);
    border-radius: 50%;
    content: "";
}

.thank-you::after {
    width: 38rem;
    height: 38rem;
}

.thank-you__glow {
    position: absolute;
    z-index: -1;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(214, 173, 98, 0.08);
    filter: blur(60px);
}

.thank-you__card {
    position: relative;
    width: min(100%, 720px);
    padding: clamp(2.4rem, 8vw, 5rem) clamp(1.4rem, 7vw, 4.5rem);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(14, 10, 13, 0.78);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48);
    text-align: center;
    backdrop-filter: blur(16px);
}

.thank-you__sparkle {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--gold-light);
    font-size: 1.5rem;
}

.thank-you__card h1 {
    color: var(--gold-light);
    font-size: clamp(2.4rem, 11vw, 5.2rem);
}

.thank-you__card p {
    margin: 1.5rem 0 0;
    color: #d5cacc;
    font-size: clamp(0.95rem, 3.8vw, 1.12rem);
    line-height: 1.75;
    text-wrap: balance;
}

@media (min-width: 620px) {
    .hero {
        padding-top: 1.5rem;
    }

    .hero__scroll-target {
        display: none;
    }

    .hero__video-frame,
    .hero__video {
        border-radius: 1.4rem 1.4rem 0 0;
    }

    .countdown {
        top: 110px;
        width: 320px;
        max-width: 320px;
        gap: clamp(0.18rem, 1.2vw, 0.42rem);
        padding: 0.55rem;
        border-radius: 0.82rem;
    }

    .lead-copy {
        font-size: clamp(0.91rem, 3.4vw, 1.12rem);
    }

    .countdown__unit {
        padding: 0.5rem 0.15rem 0.45rem;
        border-radius: 0.58rem;
    }

    .countdown__number {
        font-size: 2.65rem;
    }

    .countdown__label {
        margin-top: 0.38rem;
        font-size: 0.62rem;
        letter-spacing: 0.13em;
    }

    .countdown__separator {
        transform: translateY(-0.4rem);
        font-size: 1.1rem;
    }

    .carousel__group {
        gap: 1.15rem;
        padding-right: 1.15rem;
    }

    .signup-section {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }
}

@media (min-width: 960px) {
    .hero__video-frame {
        width: min(100%, 610px);
    }

    .reveal-section {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }

    .carousel {
        margin-top: 4rem;
    }

    .carousel__track {
        animation-duration: 78s;
    }
}
