/* The public coming-soon page (WI-civis-221). Values mirror the app's design tokens
   (src/CivisUnius.UI/wwwroot/css/tokens.css) and the prelaunch page
   (src/CivisUnius.Web/Components/Pages/ComingSoon.razor.css), so the two read as one brand.
   Kept in a file, not inline, so the CSP can stay at style-src 'self'. */

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/source-serif-4-600-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/source-sans-3-400-latin.woff2") format("woff2");
}

:root {
    --cu-bg: #f3f2f2;
    --cu-text: #201e1d;
    --cu-text-muted: #6c6866;
    --cu-accent: #0088b0;
    --cu-font-serif: "Source Serif 4", Georgia, serif;
    --cu-font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --cu-bg: #171615;
        --cu-text: #ece9e7;
        --cu-text-muted: #9a9491;
        --cu-accent: #35b3d6;
    }
}

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

html,
body {
    margin: 0;
    background: var(--cu-bg);
    color: var(--cu-text);
}

.cu-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px 16px;
    text-align: center;
}

/* The period is the entire brand gesture. Nothing else in the wordmark takes the accent. */
.cu-wordmark {
    margin: 0;
    font-family: var(--cu-font-serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cu-wordmark-dot {
    color: var(--cu-accent);
}

.cu-soon-title {
    margin: 22px 0 0;
    max-width: 20ch;
    font-family: var(--cu-font-serif);
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.08;
    font-weight: 600;
    text-wrap: balance;
}

.cu-soon-description,
.cu-soon-free {
    max-width: 46ch;
    font-family: var(--cu-font-sans);
    font-size: 17px;
    line-height: 1.55;
}

.cu-soon-description {
    margin: 14px 0 0;
    color: var(--cu-text-muted);
}

.cu-soon-free {
    margin: 22px 0 0;
    color: var(--cu-text);
}
