/* Miso Landing Page Styles */
/* Colors from Material Design 3 theme (Color.kt) */

:root {
    --bg: #FFF9EE;
    --text: #1E1B13;
    --text-secondary: #665E40;
    --text-muted: #7C7767;
    --accent: #6D5E0F;
    --btn-bg: #1E1B13;
    --btn-text: #FFF9EE;
    --btn-hover: #333027;
    --link-underline: #6D5E0F;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #15130B;
        --text: #E8E2D4;
        --text-secondary: #D1C6A1;
        --text-muted: #969080;
        --accent: #DBC66E;
        --btn-bg: #DBC66E;
        --btn-text: #15130B;
        --btn-hover: #C5B35E;
        --link-underline: #DBC66E;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 32px;
    text-align: center;
}

.logo {
    width: 156px;
    height: 156px;
    margin-bottom: 20px;
}

.app-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 380px;
    line-height: 1.5;
}

.buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-store:hover {
    background: var(--btn-hover);
}

.btn-store.locked {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-store .store-text {
    text-align: left;
    line-height: 1.2;
}

.btn-store .store-text small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.7;
    display: block;
}

.sample-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed var(--link-underline);
    padding-bottom: 1px;
    transition: opacity 0.2s;
}

.sample-link:hover {
    opacity: 0.7;
}

/* 404 page */
.error-heading {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.error-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-home {
    display: inline-block;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-home:hover {
    background: var(--btn-hover);
}

/* Responsive */
@media (max-width: 400px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-store {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }
}
