/* Aelio "Coming Soon" Landing Page
   Matches iOS WelcomeView aesthetic */

/* ----------------------------------------------------------------
   CSS Variables
   ---------------------------------------------------------------- */
:root {
    --onyx: #282523;
    --gray: #66696B;
    --light-gray: #A0A0A0;
    --blue: #227EFF;
    --green: #69C366;
    --orange: #EC8D2D;
    --bg: #F5F3F0;
}

/* ----------------------------------------------------------------
   Fonts
   ---------------------------------------------------------------- */
@font-face {
    font-family: 'aelio-sans';
    src: url('/static/fonts/aelio-sans.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'aelio-sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--onyx);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------------------------------
   Full-Viewport Landing
   ---------------------------------------------------------------- */
.landing {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* ----------------------------------------------------------------
   Background Layer
   ---------------------------------------------------------------- */
.sky-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sky-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ----------------------------------------------------------------
   Hero Content
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 24px;
    text-align: center;
}

/* ----------------------------------------------------------------
   App Icon
   ---------------------------------------------------------------- */
.app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.10),
        0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 28px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-icon:hover {
    transform: scale(1.08);
}

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
.headline {
    font-family: 'aelio-sans', -apple-system, sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 500;
    letter-spacing: -1.5px;
    color: var(--onyx);
    line-height: 1.1;
    margin: 0 0 12px;
}

.subhead {
    font-family: 'aelio-sans', -apple-system, sans-serif;
    font-size: clamp(15px, 2.5vw, 19px);
    font-weight: 400;
    color: var(--gray);
    line-height: 1.5;
    margin: 0 0 44px;
    white-space: nowrap;
}

.coming-soon {
    font-family: 'aelio-sans', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--gray);
    margin: 0 0 20px;
}


/* ----------------------------------------------------------------
   Utilities
   ---------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
    .hero {
        padding: 32px 20px;
        justify-content: center;
    }

    .app-icon {
        width: 72px;
        height: 72px;
        border-radius: 17px;
        margin-bottom: 22px;
    }

    .subhead {
        margin-bottom: 32px;
        max-width: 300px;
    }

    .coming-soon {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 16px;
    }
}

@media (max-height: 680px) {
    .app-icon {
        width: 64px;
        height: 64px;
        border-radius: 15px;
        margin-bottom: 16px;
    }

    .subhead {
        margin-bottom: 24px;
    }

    .coming-soon {
        margin-bottom: 12px;
    }
}

/* Landscape phones */
@media (max-height: 500px) {
    .hero {
        padding: 16px 20px;
    }

    .app-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .headline {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .subhead {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .coming-soon {
        font-size: 10px;
        margin-bottom: 8px;
    }
}
