:root {
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --primary: #000000;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --radius: 12px;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

/* Navbar */
#main-navbar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}
.nav-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}
.nav-link:hover {
    background-color: var(--border);
}
.nav-link--muted {
    color: var(--text-muted);
    font-weight: 400;
}
.nav-spacer {
    flex: 1;
}

main {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1rem;
    margin: 0 auto;
}

h1, h2, h3 { margin-top: 0; }
.text-muted { color: var(--text-muted); font-size: 0.875rem; }

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

button.outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Radio Buttons for Scale */
.scale-group {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.scale-group label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.scale-group input { margin-bottom: 0.5rem; }

/* Modals */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
}
.hidden { display: none !important; }
.modal.hidden { display: none; }
.modal-content { background: white; padding: 2rem; border-radius: var(--radius); width: 90%; max-width: 400px; }

img { max-width: 100%; border-radius: 8px; margin-bottom: 1rem; }