:root {
    /* Laguna theme of @ohmyroom/tokens: canvas, surface, ink, ink-muted, line, lagoon, sea-glass */
    --bg: #f5f2ec;
    --card: #ffffff;
    --text: #1e2a2f;
    --muted: #5f6e73;
    --border: #e0dacf;
    --accent: #0f7c8c;
    --accent-deep: #0a5c69;
    --accent-text: #ffffff;
    --ok: #2e8b6a;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: var(--bg);
    color: var(--text);
    font: 14px / 1.5 var(--font-sans, system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}

.card {
    animation: enter 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.logo {
    display: inline-flex;
}

h1 {
    margin: 20px 0 4px;
    font-family: var(--font-display, Georgia, serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.muted {
    color: var(--muted);
    font-weight: 500;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent);
    animation: pulse 2s ease-in-out infinite;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    transition:
        border-color 120ms,
        background 120ms;
}

.btn:hover {
    border-color: var(--accent);
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-text);
}

.btn.primary:hover {
    background: var(--accent-deep);
}

footer {
    color: var(--muted);
    font-size: 12px;
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 7px color-mix(in srgb, var(--ok) 0%, transparent);
    }
}

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

    .btn {
        transition: none;
    }
}
