/* LOTSE Cloud — shared stylesheet.
 *
 * Self-contained on purpose: no webfonts, no CDN, no analytics. The site is
 * the product's first privacy claim, so loading a font from a third party
 * would contradict the page it decorates. The system font stack looks native
 * on every platform and costs zero requests.
 */

:root {
    --bg: #fbfbfd;
    --bg-card: #ffffff;
    --fg: #1d1d1f;
    --fg-muted: #6e6e73;
    --accent: #0a6cff;
    --border: #e3e3e8;
    --code-bg: #f2f2f5;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1115;
        --bg-card: #171a21;
        --fg: #f2f2f5;
        --fg-muted: #9a9aa3;
        --accent: #4d9bff;
        --border: #272b34;
        --code-bg: #1e222b;
    }
}

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

body {
    margin: 0;
    padding: 0 1.25rem;
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 44rem;
    margin: 0 auto;
    padding: 4.5rem 0 5rem;
}

.wordmark {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin: 0 0 0.35rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--fg-muted);
    margin: 0 0 3rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.75rem 0 0.75rem;
}

h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
}

.button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    margin: 0.5rem 0;
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.08);
    text-decoration: none;
}

code,
.mono {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
        monospace;
    font-size: 0.88em;
    background: var(--code-bg);
    border-radius: 5px;
    padding: 0.12em 0.4em;
}

pre {
    background: var(--code-bg);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
}

/* Long hex digests must wrap rather than widen the page on a phone. */
.digest {
    display: block;
    word-break: break-all;
    line-height: 1.45;
}

dl.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1.25rem;
    margin: 0;
}

dl.facts dt {
    color: var(--fg-muted);
}

dl.facts dd {
    margin: 0;
}

@media (max-width: 34rem) {
    dl.facts {
        grid-template-columns: 1fr;
        gap: 0 0;
    }

    dl.facts dd {
        margin-bottom: 0.6rem;
    }
}

ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.4rem;
}

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--fg-muted);
    font-size: 0.9rem;
}
