/* Bonum Ltd company page (bonum.ai): an imprint. One small centred block on an empty page.
 * Palette and Source Serif 4 come from apps/landing_production/styles.css. */

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

:root {
    --paper: #FAFAF8;
    --ink: #1C1C1A;
    --muted: #5C5C58;
    --quiet: #6A6A65;
}

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

html {
    font-size: 112.5%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-variant-numeric: lining-nums;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--quiet);
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-color: currentColor;
}

a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 2px;
}

/* The bottom padding lifts the block slightly above true centre. */
.imprint {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 5rem;
    text-align: center;
}

.name {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.details {
    max-width: 27rem;
    margin-top: 1.25rem;
    font-size: 0.889rem;
    color: var(--muted);
}

.contact {
    margin-top: 1rem;
    font-size: 0.889rem;
    color: var(--muted);
}

/* The statutory company details. Small, but they must stay legible. */
.colophon {
    padding: 0 1.5rem 1.75rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--quiet);
}

.colophon p {
    text-wrap: balance;
}

@media print {
    body {
        background: #fff;
    }
}
