:root {
  --accent: #2563eb;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 6rem 1.5rem 3rem; }
h1 { font-size: 2.2rem; margin-bottom: 0.25rem; }
.role { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
p { margin-bottom: 1.2rem; }
.links { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.links a {
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.links a:hover { background: var(--accent); color: white; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f0f10; --text: #e5e5e5; --muted: #9ca3af; }
}

.qr-sticker {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 84px;
  padding: 6px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transform: rotate(-4deg);
  transition: transform 0.2s ease;
}
.qr-sticker:hover { transform: rotate(0deg) scale(1.08); }

body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.wrap { display: none; }
.card-page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.2rem;
}
.business-card {
  background: var(--card-bg, #fff);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  padding: 2.5rem 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.business-card h1 { margin: 0 0 0.2rem; font-size: 1.6rem; }
.business-card .role { color: var(--muted); margin-bottom: 1rem; }
.business-card .bio { font-size: 0.95rem; margin-bottom: 1.5rem; }
.business-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.business-card .actions a {
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.business-card .actions a:hover { background: var(--accent); color: white; }
@media (prefers-color-scheme: dark) { .business-card { background: #1c1c1e; } }
