/* Qrewlinq splash page
 * Brand tokens mirror ios/Qrewlinq/Support/DesignSystem.swift:
 *   surfaceBrand gradient: rgb(0.07,0.16,0.32) -> rgb(0.07,0.32,0.45)
 *   brandPrimary (orange): #F97316
 *   brandSecondary (cyan): #06B6D4
 */

:root {
    --navy-top: #122952;
    --navy-bottom: #125273;
    --brand-orange: #F97316;
    --brand-cyan: #06B6D4;
    --on-dark: #FFFFFF;
    --on-dark-muted: rgba(255, 255, 255, 0.72);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--on-dark);
    background: linear-gradient(160deg, var(--navy-top) 0%, var(--navy-bottom) 100%);
    background-attachment: fixed;
}

/* Subtle warm glow so the dark hero isn't flat */
.hero {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: min(720px, 120vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0) 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    /* Size against the viewport, not the flex parent, so long headings always
     * wrap inside the screen regardless of flex content-sizing quirks. */
    width: min(36rem, 100vw - 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.hero__wordmark {
    width: clamp(160px, 36vw, 240px);
    height: auto;
}

/* Eyebrow label, not a button: no fill, no pill — just spaced caps. */
.hero__badge {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand-orange);
}

.hero__tagline {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.hero__sub {
    margin: 0;
    max-width: 30rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.55;
    color: var(--on-dark-muted);
}

.footer {
    flex: 0 0 auto;
    padding: 1.5rem;
    text-align: center;
}

.footer__love {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    color: var(--on-dark-muted);
}

.footer__owner {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    .hero__inner {
        animation: rise 0.6s ease-out both;
    }
}

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