* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 640px;
  margin: 60px auto;
  padding: 0 24px;
  color: #333;
  line-height: 1.5;
}

a { color: #1a73e8; }

h1 { font-size: 1.6rem; margin: 0 0 16px; }
h2 { font-size: 1.1rem; margin: 28px 0 8px; }

p { color: #555; }

/* Landing page */
.landing { text-align: center; }
.landing img.logo {
  width: 128px; height: 128px; border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  margin-bottom: 24px;
}
.landing h1 { font-size: 2rem; }

a.button {
  display: inline-block; margin-top: 20px; padding: 12px 24px;
  background: #fc4c02; color: #fff; text-decoration: none;
  border-radius: 6px; font-weight: bold;
}
a.button:hover { background: #e04300; }
a.button-blue { background: #1a73e8; }
a.button-blue:hover { background: #1557b0; }

/* Dashboard cards */
.card {
  border: 1px solid #e0e0e0; border-radius: 12px;
  padding: 20px 24px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 16px;
}
.avatar, .avatar-placeholder {
  width: 48px; height: 48px; border-radius: 50%;
  flex-shrink: 0; object-fit: cover;
}
.avatar-placeholder {
  background: #4285f4; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 22px;
}
.card-info { flex: 1; }
.card-label {
  font-size: 0.75rem; color: #888;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.card-name { font-size: 1rem; font-weight: 600; margin-top: 2px; }

.badge {
  font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
}
.badge-green { background: #e6f4ea; color: #1e7e34; }
.badge-orange { background: #fff3e0; color: #e65100; }

/* Danger zone */
.danger-zone { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e0e0e0; }
.danger-zone h2 { font-size: 1rem; color: #c62828; margin-bottom: 8px; }
.danger-zone p { font-size: 0.875rem; color: #666; margin-bottom: 16px; }
.danger-zone form { margin-bottom: 12px; }
.danger-zone form p { font-size: 0.8rem; color: #888; margin: 6px 0 0; }

button.delete {
  background: none; border: 1px solid #c62828; color: #c62828;
  padding: 10px 20px; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
}
button.delete:hover { background: #fdecea; }

/* Legal pages */
.legal h1 { margin-bottom: 4px; }
.legal .effective-date { color: #888; font-size: 0.875rem; margin-bottom: 32px; }
.legal p, .legal li { color: #333; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* Footer */
footer {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center; font-size: 0.85rem; color: #888;
}
footer a { color: #888; margin: 0 10px; }
