/* Colours follow packages/ui/src/tokens.ts: paper, brand teal and the slate app surfaces. */
:root {
    --paper: #f6f2e9;
    --teal-300: #7ec5be;
    --teal-400: #4da9a1;
    --teal-500: #25847d;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-800: #1e293b;
    --slate-950: #020617;

    color-scheme: dark;
}

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

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: grid;
    place-items: center;
    padding: 2rem 1.5rem;
    background:
        radial-gradient(60rem 40rem at 50% -10%, rgb(37 132 125 / 0.22), transparent 70%),
        var(--slate-950);
    color: var(--paper);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.page {
    width: 100%;
    max-width: 32rem;
    text-align: center;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.brand img {
    display: block;
}

.brand-name {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2.5rem 0 0;
    padding: 0.375rem 0.875rem;
    border: 1px solid rgb(77 169 161 / 0.35);
    border-radius: 999px;
    background: rgb(37 132 125 / 0.12);
    color: var(--teal-300);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--teal-400);
    animation: pulse 2s ease-in-out infinite;
}

h1 {
    margin: 1.25rem 0 0;
    font-size: clamp(2.5rem, 9vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.lead {
    margin: 1rem 0 0;
    color: var(--slate-300);
    font-size: 1.125rem;
    line-height: 1.6;
}

hr {
    width: 4rem;
    margin: 2.5rem auto;
    border: 0;
    border-top: 1px solid var(--slate-800);
}

.translations {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--slate-400);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.translations strong {
    color: var(--slate-300);
    font-weight: 600;
}

.language {
    margin-right: 0.5rem;
    color: var(--teal-400);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
    }
}
