/* Tokens espelhados do app (ovs_colors.dart): o palco navy é
   invariante de tema — a home tem uma pele só, a da marca. */
:root {
    --stage: #011F44;
    --on-stage: #FFFFFF;
    --on-stage-secondary: #CBD5E1;
    --on-stage-muted: #94A3B8;
    --stage-line: #1C3A5E;
    --stage-inset: #01182F;
    --teal: #55DCD3;
    --yellow: #FFD300;
    --warn: #FF7B00;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

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

html { height: 100%; }

body {
    min-height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    justify-items: center;
    background: var(--stage);
    color: var(--on-stage);
    font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 500;
    padding: clamp(1.5rem, 6vw, 4rem);
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--stage); }

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

a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

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

main {
    align-self: center;
    width: 100%;
    max-width: 36rem;
}

.mark {
    width: 3.5rem;
    height: 3.5rem;
    display: block;
    margin-bottom: 1.75rem;
}

.kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-stage-muted);
}

h1 {
    margin-top: 0.625rem;
    font-size: clamp(2.125rem, 6vw, 2.625rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.lead {
    margin-top: 0.875rem;
    max-width: 52ch;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--on-stage-secondary);
}

.meta {
    margin-top: 2.25rem;
    padding-top: 1.375rem;
    border-top: 1px solid var(--stage-line);
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    row-gap: 0.875rem;
    align-items: baseline;
}

.meta dt {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-stage-muted);
}

.meta dd { font-size: 0.9375rem; font-weight: 700; }

.path {
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    background: var(--stage-inset);
    border: 1px solid var(--stage-line);
    border-radius: 6px;
    padding: 0.125rem 0.5rem;
    color: var(--teal);
}

.status { display: inline-flex; align-items: center; gap: 0.5rem; }

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--on-stage-muted);
    flex: none;
}

.status[data-state="checking"] .dot { animation: breathe 1.2s ease-in-out infinite alternate; }
.status[data-state="ok"] .dot { background: var(--teal); }
.status[data-state="down"] .dot { background: var(--warn); }

@keyframes breathe {
    from { opacity: 1; }
    to { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    .status[data-state="checking"] .dot { animation: none; }
}

footer {
    width: 100%;
    max-width: 36rem;
    padding-top: 3rem;
    font-size: 0.8125rem;
    color: var(--on-stage-muted);
}
