/* ============================================================================
   potatopotato.io coming-soon page
   ----------------------------------------------------------------------------
   One block of copy centered in the viewport. Color and type are the same
   tokens app-potatopotato uses in web/app.css, so the splash and the product
   read as one brand.
   ============================================================================ */

@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    --bg-primary: #ffffff;
    --text-primary: #2d333b;
    --text-secondary: #4f5a6a;
    --text-tertiary: #616d7d;
    --accent-blue: #0072b2;
    --accent-blue-hover: #005a8d;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --space-2: 8px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
}

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

body {
    font-family: var(--font-sans);
    font-optical-sizing: auto;
    font-feature-settings: "kern" 1, "calt" 1;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

a:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------------------------------------------------------------- splash --- */

.splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 560px;
    padding: var(--space-8) var(--space-6);
}

.splash-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-2);
}

.splash-title {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.splash-lede {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-8);
}

.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--accent-blue-hover);
}

/* ---------------------------------------------------------------- mobile --- */

@media (max-width: 480px) {
    .splash-title {
        font-size: 36px;
    }
}
