/* Clinical OS Design System — Vitals */

:root {
    --bg: #FFFFFF;
    --text: #000000;
    --accent: #0040DD;
    --divider: #E5E5EA;
    --text-secondary: #555555;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --text: #FFFFFF;
        --accent: #0A5CFF;
        --divider: #38383A;
        --text-secondary: #AAAAAA;
    }
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 40px 0 0;
}

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

header .site-name {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Main */
main {
    flex: 1;
    padding: 48px 0;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

a:hover {
    text-decoration: underline;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid var(--divider);
    margin: 48px 0;
}

/* Hero section (index) */
.hero {
    padding: 32px 0 16px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 24px;
}

/* Support card */
.support-card {
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 24px;
    margin-top: 8px;
}

.support-card p {
    margin-bottom: 8px;
}

.support-card p:last-child {
    margin-bottom: 0;
}

/* Legal disclaimer box */
.disclaimer {
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.disclaimer strong {
    display: block;
    margin-bottom: 12px;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Footer */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--divider);
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

footer a {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

footer a:hover {
    color: var(--accent);
}

/* Utilities */
.mt-0 { margin-top: 0; }

/* Responsive */
@media (max-width: 600px) {
    main { padding: 32px 0; }
    h1 { font-size: 1.75rem; }
    .hero h1 { font-size: 2rem; }
    .container { padding: 0 20px; }
    footer nav { gap: 16px; }
}
