:root {
    --red: #d71920;
    --navy: #102a43;
    --ink: #f9fbfc;
    --muted: rgba(255, 255, 255, 0.76);
    --soft: rgba(255, 255, 255, 0.12);
    --line: rgba(255, 255, 255, 0.2);
    --shadow: 0 24px 70px rgba(3, 15, 30, 0.34);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--navy);
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--navy);
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.page-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    margin: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 20, 38, 0.9) 0%, rgba(8, 28, 49, 0.78) 42%, rgba(8, 28, 49, 0.34) 78%),
        linear-gradient(180deg, rgba(4, 17, 32, 0.52), rgba(4, 17, 32, 0.76));
}

.site-header,
.hero-content,
.site-footer {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-block: clamp(20px, 3vh, 34px) 0;
    text-align: center;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand picture {
    display: flex;
    align-items: center;
    width: clamp(230px, 17vw, 330px);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(3, 15, 30, 0.22);
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.brand-tagline {
    color: #fffdfc;
    font-size: clamp(1rem, 2vw, 1.22rem);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.location-label {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-social,
.site-footer {
    color: var(--muted);
    font-size: 0.88rem;
}

.header-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.header-social a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
}

.panel-social {
    margin-top: 14px;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(650px, 780px) minmax(420px, 470px);
    justify-content: center;
    align-items: center;
    gap: clamp(42px, 5vw, 86px);
    margin-top: clamp(34px, 6vh, 58px);
    margin-bottom: clamp(22px, 4vh, 42px);
    padding-block: 0;
}

.intro,
.launch-panel {
    animation: rise-in 700ms ease both;
}

.intro {
    text-align: center;
}

.launch-panel {
    animation-delay: 140ms;
}

.badge {
    display: inline-flex;
    justify-content: center;
    text-align: center;
    margin: 0 0 20px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fffdfc;
    font-size: clamp(1.05rem, 1.2vw, 1.24rem);
    font-weight: 700;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-inline: auto;
    max-width: 860px;
    margin-bottom: 8px;
    font-size: clamp(3rem, 3.9vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

h1 span {
    display: block;
}

.title-location {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.95rem, 0.9vw, 1.08rem);
    font-weight: 800;
}

.description {
    margin-inline: auto;
    max-width: 800px;
    color: var(--muted);
    font-size: clamp(1rem, 0.78vw, 1.12rem);
    line-height: 1.68;
}

.feature-list {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 820px;
    margin: 28px auto 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
}

.icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 5px;
    position: relative;
    color: #fff;
}

.icon-shop::after,
.icon-event::after,
.icon-service::after,
.icon-connect::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-top: 2px solid var(--red);
}

.launch-panel {
    width: 100%;
    padding: clamp(22px, 1.6vw, 28px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(8, 28, 49, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.panel-kicker {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.time-block {
    display: grid;
    min-width: 0;
    min-height: 86px;
    place-items: center;
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
}

.time-block strong {
    color: var(--red);
    font-size: clamp(1.65rem, 1.75vw, 2.1rem);
    line-height: 1;
    transition: opacity 160ms ease, transform 160ms ease;
}

.time-block span {
    margin-top: 8px;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.expired-message {
    margin: 14px 0 0;
    color: #fffdfc;
    font-weight: 800;
}

.subscribe-form {
    margin-top: 22px;
}

.form-copy h2 {
    margin-bottom: 8px;
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.form-copy p {
    color: var(--muted);
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.form-row input {
    min-height: 52px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 15px;
    background: #fffdfc;
    color: var(--navy);
}

.form-row input:focus,
.form-row button:focus-visible,
.toast-close:focus-visible {
    outline: 3px solid rgba(215, 25, 32, 0.45);
    outline-offset: 2px;
}

.form-row button {
    min-height: 52px;
    min-width: 132px;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    background: var(--red);
    color: #fffdfc;
    cursor: pointer;
    font-weight: 900;
    transition: transform 180ms ease, background-color 180ms ease;
}

.form-row button:hover {
    background: #bd1218;
    transform: translateY(-1px);
}

.form-row button[disabled] {
    cursor: wait;
    opacity: 0.74;
    transform: none;
}

.form-message {
    min-height: 24px;
    margin: 10px 0 0;
    color: #fffdfc;
}

.form-message.is-error {
    color: #ffd7d9;
}

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
}

.trust-line strong {
    width: 100%;
    color: #fffdfc;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-self: end;
    justify-content: center;
    gap: 10px 18px;
    padding-block: 18px 24px;
    margin-top: auto;
}

.site-footer a {
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 4px;
}

.hidden-field,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.toast-dialog {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    width: min(380px, calc(100vw - 36px));
    padding: 22px 22px 20px 72px;
    border: 1px solid rgba(16, 42, 67, 0.12);
    border-radius: 8px;
    background: #fffdfc;
    color: var(--navy);
    box-shadow: 0 24px 60px rgba(3, 15, 30, 0.25);
    animation: toast-in 220ms ease both;
}

.toast-icon {
    position: absolute;
    left: 22px;
    top: 24px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: #198754;
    color: white;
    font-weight: 900;
}

.toast-dialog h2 {
    margin-bottom: 6px;
    font-size: 1.14rem;
}

.toast-dialog p {
    margin-bottom: 0;
    color: #667085;
    line-height: 1.5;
}

.toast-close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font-size: 1.4rem;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
        gap: 36px;
    }

    h1 {
        font-size: clamp(2.45rem, 5vw, 4.1rem);
    }
}

@media (min-width: 901px) {
    .page-shell {
        height: 100svh;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        align-items: start;
        justify-items: center;
        margin-top: 36px;
        padding-block: 28px;
    }

    .launch-panel {
        width: 100%;
        max-width: 560px;
    }
}

@media (min-width: 1440px) {
    .site-header,
    .hero-content,
    .site-footer {
        width: min(1400px, calc(100% - 64px));
    }

    .hero-content {
        grid-template-columns: minmax(720px, 850px) minmax(440px, 500px);
    }

    .description {
        max-width: 760px;
    }
}

@media (max-width: 560px) {
    .hero-media img {
        object-position: center;
    }

    .site-header {
        padding-block: 18px;
    }

    .header-social {
        display: flex;
    }

    .brand {
        gap: 8px;
    }

    .brand picture {
        width: min(230px, calc(100vw - 32px));
        padding: 7px 10px;
    }

    .location-label {
        min-height: 32px;
        font-size: 0.82rem;
    }

    h1 {
        font-size: clamp(2rem, 11vw, 3.05rem);
    }

    .description {
        font-size: 1rem;
    }

    .feature-list li {
        width: 100%;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row button {
        width: 100%;
    }

    .site-footer {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}
