:root {
  --bg: #0f1117;
  --panel: #141925;
  --text: #f5f7fb;
  --muted: #9aa3b5;
  --accent: #6ee7b7;
  --accent-2: #60a5fa;
  --border: #1f2633;
  --danger: #f43f5e;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.card-shell {
  width: min(440px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-brand {
  display: flex;
  justify-content: flex-end;
}
.card-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c0f16;
  padding: 6px;
}

.card-header { display: flex; gap: 14px; align-items: center; }
.card-photo__wrap {
  width: 110px; height: 110px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background: #0c0f16;
  display: grid; place-items: center;
}
.card-photo__wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-meta { flex: 1; min-width: 0; }
.card-company { margin: 0; color: var(--muted); letter-spacing: 0.02em; font-size: 0.9rem; text-transform: uppercase; }
.card-name { margin: 4px 0 4px; font-size: 1.6rem; letter-spacing: -0.01em; }
.card-title, .card-address { margin: 0; color: var(--muted); font-size: 0.95rem; }

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.action, .action:link, .action:visited {
  appearance: none;
  border: 1px solid var(--border);
  background: #0f1622;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.action:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.notes {
  background: #0d121c;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px;
  color: var(--muted);
  min-height: 44px;
}

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  background: #0f1622;
  transition: border-color 120ms ease;
}
.social:hover { border-color: var(--accent-2); }

.status {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.status--error { color: var(--danger); }

@media (max-width: 420px) {
  body { padding: 12px; }
  .card-header { flex-direction: column; align-items: flex-start; }
  .card-photo__wrap { width: 100%; height: 180px; border-radius: 14px; }
  .card-meta { width: 100%; }
}
