/* Landing page at viesti.me root - styled after uploader.fi (the
   sibling app on this server), for a consistent look across both. */

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: #1c2128;
    color: #9aa4af;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

main {
    max-width: 560px;
    width: 100%;
}

main h1 {
    margin: 0;
    color: #fff;
    font-size: 2.6em;
    font-weight: 700;
}

main h1 .sub {
    display: block;
    margin-top: 8px;
    color: #9aa4af;
    font-size: 1.35rem; /* rem, not em: this is nested inside h1, so em would compound against h1's own 2.6em */
    font-weight: 500;
}

main .rule {
    width: 52px;
    height: 3px;
    margin: 1.6em 0;
    background: #4d90d6;
}

main p {
    margin: 0 0 1.6em;
    font-size: 1.05em;
    line-height: 1.6;
}

main a.mail {
    color: #4d90d6;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
}

main a.mail:hover {
    text-decoration: underline;
}

/* 404 page only (404.php) - sits above the regular landing content */
main .error-note {
    margin: 0 0 1.4em;
    color: #e0651a;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

main hr.error-rule {
    margin: 0 0 2em;
    border: none;
    border-top: 1px solid #2f3742;
}
