:root{
    --bg: #000;
    --text: #fff;
    --muted: #888;
    --spring: #6B8F71;
    --summer: #D4A843;
    --autumn: #C4723A;
    --winter: #7BA7BC;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}

body{
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    background:var(--bg);
    color:var(--text);
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:
        calc(40px + env(safe-area-inset-top))
        24px
        calc(40px + env(safe-area-inset-bottom));
}

.container{
    width:min(520px, 100%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:32px;
}

/* ===== Logo ===== */
.logo-wrap{
    display:flex;
    justify-content:center;
}

.logo{
    height:48px;
    width:auto;
    max-width:min(300px, 70%);
    object-fit:contain;
    filter:brightness(0) invert(1);
}

@media(max-width:520px){
    .logo{height:40px;max-width:80%}
}

/* ===== Title ===== */
h1{
    text-align:center;
    font-size:clamp(14px, 3vw, 18px);
    font-weight:300;
    letter-spacing:.3em;
    text-transform:uppercase;
    color:var(--text);
}

/* ===== Form ===== */
.form{
    display:flex;
    gap:16px;
    align-items:flex-end;
    width:100%;
}

.input{
    flex:1;
    padding:12px 0;
    border:none;
    border-bottom:1px solid #333;
    background:transparent;
    color:var(--text);
    font-family:inherit;
    font-size:16px;
    outline:none;
    transition:border-color .2s;
}

.input::placeholder{color:#555}

.input:focus{border-bottom-color:var(--text)}

.btn{
    padding:12px 24px;
    border:none;
    border-radius:0;
    background:var(--text);
    color:var(--bg);
    font-family:inherit;
    font-size:13px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    cursor:pointer;
    transition:opacity .2s;
    white-space:nowrap;
}

.btn:hover{opacity:.85}
.btn:active{opacity:.7}

@media(max-width:520px){
    .form{flex-direction:column;align-items:stretch}
    .btn{width:100%;padding:14px 24px}
}

/* ===== Error ===== */
.error{
    color:#ff4d4d;
    font-size:14px;
    text-align:center;
    line-height:1.5;
}

/* ===== Video ===== */
.video{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.video h3{
    font-size:14px;
    font-weight:400;
    letter-spacing:.15em;
    text-transform:uppercase;
    text-align:center;
    color:var(--muted);
}

.player{
    width:100%;
    background:#000;
    display:block;
}

.download-wrap{
    display:flex;
    justify-content:center;
}

.download-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 28px;
    border:1px solid var(--text);
    background:transparent;
    color:var(--text);
    font-family:inherit;
    font-size:13px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    text-decoration:none;
    cursor:pointer;
    transition:background .2s, color .2s;
}

.download-btn:hover{
    background:var(--text);
    color:var(--bg);
}

.download-btn:active{opacity:.7}

.download-icon{font-size:16px;line-height:1}

@media(max-width:520px){
    .download-btn{width:100%}
}

/* ===== Footer ===== */
.support{
    text-align:center;
    font-size:12px;
    color:var(--muted);
}

.support a{
    color:#aaa;
    text-decoration:none;
}

.support a:hover{
    text-decoration:underline;
}

/* ===== Season Stripe ===== */
.season-stripe{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    height:6px;
    display:flex;
    z-index:100;
}

.season-stripe span{
    flex:1;
}

.season-stripe .s-spring{background:var(--spring)}
.season-stripe .s-summer{background:var(--summer)}
.season-stripe .s-autumn{background:var(--autumn)}
.season-stripe .s-winter{background:var(--winter)}

/* ===== Reduced Motion ===== */
@media(prefers-reduced-motion:reduce){
    .btn,.download-btn,.input{transition:none}
}
