/* ===== flowe — Design Tokens & Reset ===== */

:root {
    /* Mist theme palette (from AppTheme.swift default) */
    --mist:         #6199B8;
    --mist-light:   #e8f0f5;
    --mist-mid:     #c8dce8;
    --mist-deep:    #a3c4d6;
    --mist-pale:    #f2f6f9;

    /* Neutral grounding */
    --warm-light:   #f0ebe4;
    --warm-mid:     #e4dbd0;
    --stone-light:  #e8e4e0;

    /* Semantic colors */
    --accent:       #6199B8;
    --accent-muted: #8bb5cc;
    --text:         #1a1a1e;
    --text-secondary: #5a5a5a;
    --text-tertiary:  #8a8a8a;
    --text-on-dark:   #f0f0f0;
    --text-on-dark-secondary: rgba(240, 240, 240, 0.7);
    --bg:           #f7f8f9;
    --bg-white:     #ffffff;
    --card-border:  rgba(0, 0, 0, 0.06);
    --border:       #dce4e8;
    --border-soft:  #e8eef2;
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Language Toggle ===== */

.lang-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--text);
    font-weight: 400;
}

.lang-sep {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 200;
}
