/* Grüße 2.0 — self-hosted only: system fonts, no CDNs (hard rule). */

* {
    box-sizing: border-box;
}

body.gruss {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #2b2b2b;
    background: #faf7f2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.02em;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.card-message,
.recording-shell {
    max-width: 28rem;
    width: 100%;
    text-align: center;
}

.card-message h1 {
    font-size: 1.5rem;
    line-height: 1.3;
}

audio {
    width: 100%;
    margin: 1rem 0;
}

.hoerbar-bis,
.hint {
    font-size: 0.875rem;
    color: #6b6b6b;
}

button {
    font: inherit;
    padding: 0.6rem 1.2rem;
    border: 1px solid #2b2b2b;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    margin: 0.25rem;
}

button:disabled {
    opacity: 0.4;
    cursor: default;
}

#record-timer {
    display: inline-block;
    min-width: 3.5rem;
    font-variant-numeric: tabular-nums;
}

.error {
    color: #a33;
}
